:root {
    --bg-main: #07070d;
    --bg-card: #10101a;
    --bg-card-hover: #151524;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(139, 92, 246, 0.45);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-purple: #8b5cf6;
    --accent-indigo: #6366f1;
    --accent-green: #10b981;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 50% -10%, rgba(124, 58, 237, 0.22), transparent 55%),
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px, 48px 48px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigace */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(7, 7, 13, 0.78);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-purple));
    font-family: monospace;
    font-size: 1rem;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.45);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Tlačítka */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-purple));
    color: #fff;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.55);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border-color: var(--border-subtle);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-sm {
    padding: 9px 15px;
    font-size: 0.86rem;
    border-radius: 8px;
}

/* Hero sekce */
.hero {
    padding: 88px 0 64px;
    text-align: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #c4b5fd;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeUp 0.6s ease both;
}

.hero h1 {
    font-size: clamp(2.4rem, 5.2vw, 4.2rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    max-width: 860px;
    margin: 0 auto 20px;
    animation: fadeUp 0.7s ease 0.08s both;
}

.gradient-text {
    background: linear-gradient(90deg, #818cf8 0%, #c084fc 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.12rem;
    max-width: 650px;
    margin: 0 auto 34px;
    animation: fadeUp 0.7s ease 0.16s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    animation: fadeUp 0.7s ease 0.24s both;
}

/* Filtry kategorií */
.catalog-section {
    padding: 24px 0 84px;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 42px;
}

.filter-btn {
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.22);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-purple));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
}

/* Grid karet */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 26px;
}

.project-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: var(--border-accent);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55), 0 0 30px rgba(139, 92, 246, 0.14);
}

.project-card.hidden {
    display: none;
}

/* Horní vizuál karty */
.card-preview {
    position: relative;
    height: 155px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.28), rgba(15, 23, 42, 0.9));
    border-bottom: 1px solid var(--border-subtle);
}

.card-preview-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.status-available {
    background: rgba(16, 185, 129, 0.16);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.status-sold {
    background: rgba(148, 163, 184, 0.14);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.price-tag {
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
    background: rgba(7, 7, 13, 0.72);
    padding: 4px 11px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

.card-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: rgba(7, 7, 13, 0.65);
    backdrop-filter: blur(8px);
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.metric-val {
    font-size: 0.86rem;
    font-weight: 700;
    color: #e2e8f0;
}

.metric-lbl {
    font-size: 0.68rem;
    color: var(--text-secondary);
}

/* Tělo karty */
.card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-cat {
    font-size: 0.78rem;
    font-weight: 600;
    color: #a78bfa;
    margin-bottom: 6px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.35;
}

.card-tagline {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 18px;
    flex: 1;
}

.card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

/* Sekce Jak to funguje */
.steps-section {
    padding: 72px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(16, 16, 26, 0.45);
}

.section-heading {
    text-align: center;
    margin-bottom: 44px;
}

.section-heading h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-heading p {
    color: var(--text-secondary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}

.step-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 24px;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.16);
    color: #c4b5fd;
    font-weight: 800;
    margin-bottom: 14px;
}

.step-box h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.step-box p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

/* Kontaktní formulář */
.contact-section {
    padding: 84px 0;
}

.contact-card {
    max-width: 680px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 36px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 7px;
    color: #cbd5e1;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    background: #090910;
    border: 1px solid var(--border-subtle);
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-purple);
}

.alert-success {
    padding: 14px 18px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
    margin-bottom: 20px;
    font-weight: 500;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 3, 8, 0.82);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 100;
}

.modal-backdrop.open {
    display: flex;
}

.modal-content {
    width: 100%;
    max-width: 600px;
    background: #12121e;
    border: 1px solid var(--border-accent);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    animation: fadeUp 0.25s ease both;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
}

.modal-list {
    margin: 18px 0 24px 18px;
    color: #cbd5e1;
}

.modal-list li {
    margin-bottom: 8px;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-subtle);
    padding: 32px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }
    .contact-card {
        padding: 24px;
    }
}

/* --- Výrazný Header & SVG Logo idevo.cz --- */
.top-ticker {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.14), rgba(139, 92, 246, 0.18), rgba(56, 189, 248, 0.14));
    border-bottom: 1px solid rgba(139, 92, 246, 0.22);
    padding: 7px 0;
    font-size: 0.78rem;
    color: #ddd6fe;
    text-align: center;
    letter-spacing: 0.01em;
}

.top-ticker strong {
    color: #fff;
    font-weight: 700;
}

.navbar-pro {
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(7, 7, 13, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
}

.navbar-pro::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.65), rgba(192, 132, 252, 0.75), rgba(56, 189, 248, 0.65), transparent);
    opacity: 0.75;
}

.nav-pro-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    gap: 20px;
}

/* Značka + SVG logo */
.idevo-logo {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    color: var(--text-primary);
    group: true;
}

.idevo-logo-mark {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.22), rgba(139, 92, 246, 0.14));
    border: 1px solid rgba(167, 139, 250, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 24px rgba(139, 92, 246, 0.28), inset 0 0 12px rgba(255, 255, 255, 0.06);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.idevo-logo:hover .idevo-logo-mark {
    transform: translateY(-2px) scale(1.04);
    border-color: rgba(192, 132, 252, 0.85);
    box-shadow: 0 0 32px rgba(139, 92, 246, 0.55), inset 0 0 14px rgba(255, 255, 255, 0.12);
}

.idevo-logo-svg {
    width: 26px;
    height: 26px;
    overflow: visible;
}

.idevo-spark {
    transform-origin: 22px 6px;
    animation: sparkPulse 2.8s ease-in-out infinite;
}

@keyframes sparkPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.22);
        opacity: 1;
    }
}

.idevo-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.idevo-name {
    font-size: 1.42rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: #fff;
}

.idevo-name span {
    background: linear-gradient(90deg, #818cf8, #c084fc, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.idevo-sub {
    font-size: 0.69rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-top: 3px;
}

/* Navigace */
.nav-pro-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link-item {
    position: relative;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 9px;
    transition: color 0.2s, background 0.2s;
}

.nav-link-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-count-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 6px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(139, 92, 246, 0.22);
    color: #ddd6fe;
    border: 1px solid rgba(167, 139, 250, 0.35);
}

/* Tlačítko se světelným odleskem */
.btn-glow {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #6366f1, #8b5cf6 55%, #a855f7);
    color: #fff;
    box-shadow: 0 8px 26px rgba(124, 58, 237, 0.42);
}

.btn-glow::before {
    content: "";
    position: absolute;
    top: 0;
    left: -110%;
    width: 65%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transform: skewX(-22deg);
    transition: left 0.55s ease;
}

.btn-glow:hover::before {
    left: 140%;
}

@media (max-width: 760px) {
    .nav-pro-links .nav-link-item {
        display: none;
    }
    .idevo-sub {
        display: none;
    }
}

/* --- Hlavní markant: znak šipky idevo.cz --- */
.idevo-arrow-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 8px;
}

.hero-mark-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    margin: 0 auto 24px;
    border-radius: 28px;
    background: radial-gradient(circle at 30% 25%, rgba(99, 102, 241, 0.28), rgba(16, 16, 26, 0.92));
    border: 1px solid rgba(167, 139, 250, 0.45);
    box-shadow: 0 0 48px rgba(139, 92, 246, 0.35), 0 0 85px rgba(56, 189, 248, 0.14);
    animation: heroArrowFloat 4.2s ease-in-out infinite;
}

.hero-mark-wrap img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    border-radius: 18px;
}

@keyframes heroArrowFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-7px);
    }
}

/* --- Hlavní markant: znak šipky idevo.cz --- */
.idevo-arrow-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 8px;
}

.hero-mark-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 112px;
    height: 112px;
    margin: 0 auto 24px;
    border-radius: 28px;
    background: radial-gradient(circle at 30% 25%, rgba(99, 102, 241, 0.28), rgba(16, 16, 26, 0.92));
    border: 1px solid rgba(167, 139, 250, 0.45);
    box-shadow: 0 0 48px rgba(139, 92, 246, 0.35), 0 0 85px rgba(56, 189, 248, 0.14);
    animation: heroArrowFloat 4.2s ease-in-out infinite;
}

.hero-mark-wrap img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    border-radius: 18px;
}

@keyframes heroArrowFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-7px);
    }
}

/* --- Animace rostoucí šipky idevo.cz --- */
.idevo-growth-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.growth-path {
    stroke-dasharray: 160;
    stroke-dashoffset: 160;
    animation: arrowDrawGrow 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards, arrowGentlePulse 3.6s ease-in-out 2.6s infinite;
}

.growth-head {
    opacity: 0;
    transform-origin: 78px 22px;
    animation: arrowHeadPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 1.35s forwards, arrowHeadPulse 3.6s ease-in-out 2.6s infinite;
}

.growth-spark-core {
    opacity: 0;
    transform-origin: 50px 44px;
    animation: sparkIgnite 0.6s ease-out 0.95s forwards, sparkBeat 2.2s ease-in-out 1.55s infinite;
}

.growth-spark-ring {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: sparkRipple 2.4s cubic-bezier(0.16, 1, 0.3, 1) 1.1s infinite;
}

.hero-growth-stage {
    position: relative;
    width: 124px;
    height: 124px;
    margin: 0 auto 24px;
    border-radius: 30px;
    padding: 20px;
    background: radial-gradient(circle at 30% 25%, rgba(99, 102, 241, 0.26), rgba(12, 12, 22, 0.94));
    border: 1px solid rgba(167, 139, 250, 0.45);
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.32), inset 0 0 18px rgba(56, 189, 248, 0.08);
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-growth-stage:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: rgba(192, 132, 252, 0.85);
    box-shadow: 0 0 65px rgba(139, 92, 246, 0.5), 0 0 90px rgba(56, 189, 248, 0.18);
}

.hero-replay-hint {
    display: block;
    margin-top: -12px;
    margin-bottom: 18px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.78;
}

@keyframes arrowDrawGrow {
    0% {
        stroke-dashoffset: 160;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes arrowHeadPop {
    0% {
        opacity: 0;
        transform: scale(0.45) translate(-8px, 8px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translate(0, 0);
    }
}

@keyframes arrowGentlePulse {
    0%, 100% {
        filter: drop-shadow(0 0 6px rgba(139, 92, 246, 0.45));
    }
    50% {
        filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.75));
    }
}

@keyframes arrowHeadPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08) translate(1.5px, -1.5px);
    }
}

@keyframes sparkIgnite {
    0% {
        opacity: 0;
        transform: scale(0.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes sparkBeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.25);
    }
}

@keyframes sparkRipple {
    0% {
        opacity: 0.85;
        transform: scale(0.5);
    }
    100% {
        opacity: 0;
        transform: scale(2.35);
    }
}

/* --- Postupná animace loga idevo.cz (sloupce -> jiskra -> křivka -> šipka) --- */
.idevo-logo-mark .idevo-growth-svg {
    width: 28px;
    height: 28px;
    display: block;
    overflow: visible;
}

.hero-growth-stage {
    position: relative;
    width: 132px;
    height: 132px;
    margin: 0 auto 18px;
    border-radius: 32px;
    padding: 20px;
    background: radial-gradient(circle at 30% 25%, rgba(99, 102, 241, 0.28), rgba(12, 12, 22, 0.95));
    border: 1px solid rgba(167, 139, 250, 0.45);
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.34), inset 0 0 18px rgba(56, 189, 248, 0.1);
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-growth-stage:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: rgba(192, 132, 252, 0.85);
}

.hero-growth-stage .idevo-growth-svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.hero-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.growth-bar {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: bottom center;
    transform: scaleY(0.15);
}

.growth-bar-1 {
    animation: barGrow 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.growth-bar-2 {
    animation: barGrow 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards;
}

.growth-bar-3 {
    animation: barGrow 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
}

.growth-spark-core {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: sparkIgnite 0.45s ease-out 0.95s forwards, sparkBeat 2.2s ease-in-out 1.4s infinite;
}

.growth-spark-ring {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: sparkRipple 2.4s cubic-bezier(0.16, 1, 0.3, 1) 1.05s infinite;
}

.growth-path {
    stroke-dasharray: 165;
    stroke-dashoffset: 165;
    animation: arrowDrawGrow 1.3s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards;
}

.growth-head {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: arrowHeadPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 2.15s forwards, arrowHeadPulse 3.4s ease-in-out 2.7s infinite;
}

@keyframes barGrow {
    0% {
        opacity: 0;
        transform: scaleY(0.15);
    }
    100% {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes arrowDrawGrow {
    0% {
        stroke-dashoffset: 165;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes arrowHeadPop {
    0% {
        opacity: 0;
        transform: scale(0.4) translate(-6px, 6px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translate(0, 0);
    }
}

@keyframes arrowHeadPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08) translate(1.5px, -1.5px);
    }
}

@keyframes sparkIgnite {
    0% {
        opacity: 0;
        transform: scale(0.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes sparkBeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.24);
    }
}

@keyframes sparkRipple {
    0% {
        opacity: 0.85;
        transform: scale(0.5);
    }
    100% {
        opacity: 0;
        transform: scale(2.35);
    }
}

/* --- Postupné psaní motta na hlavní stránce --- */
.typewriter-line {
    display: inline;
}

.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 0.92em;
    margin-left: 4px;
    vertical-align: -0.08em;
    background: linear-gradient(180deg, #818cf8, #38bdf8);
    border-radius: 2px;
    animation: cursorBlink 0.78s steps(1, end) infinite;
}

@keyframes cursorBlink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

/* --- Animace anglického motta v nadpisu + hlavní české motto --- */
.en-hero-motto {
    display: inline-block;
    font-size: clamp(2.1rem, 4.8vw, 3.8rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, #818cf8 0%, #c084fc 52%, #38bdf8 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: enMottoReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) both, enGradientFlow 6s ease-in-out 0.85s infinite;
}

.cs-main-motto-wrap {
    margin-top: 14px;
    font-size: clamp(1.35rem, 2.7vw, 2.15rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    min-height: 1.4em;
}

@keyframes enMottoReveal {
    0% {
        opacity: 0;
        transform: translateY(14px) scale(0.97);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes enGradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* --- Header: idevo.cz - Ideas evolve into business --- */
.idevo-sub {
    text-transform: none;
    letter-spacing: 0.01em;
    font-size: 0.74rem;
}

/* --- Spodní sekce: Z nápadu vzniká podnikání (flash + psaní + zvuk) --- */
.bottom-motto-section {
    padding: 56px 0 72px;
    border-top: 1px solid var(--border-subtle);
}

.bottom-flash-box {
    position: relative;
    overflow: hidden;
    max-width: 920px;
    margin: 0 auto;
    padding: 40px 28px;
    border-radius: 22px;
    text-align: center;
    background: linear-gradient(145deg, rgba(16, 16, 28, 0.96), rgba(10, 10, 18, 0.98));
    border: 1px solid rgba(167, 139, 250, 0.35);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.55);
}

.bottom-flash-overlay {
    position: absolute;
    inset: -20%;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle at 50% 50%, rgba(192, 132, 252, 0.55), rgba(56, 189, 248, 0.25) 45%, transparent 72%);
}

.bottom-flash-box.is-flashing .bottom-flash-overlay {
    animation: mottoFlashBurst 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.bottom-motto-text {
    position: relative;
    z-index: 1;
    font-size: clamp(1.6rem, 3.6vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    background: linear-gradient(90deg, #818cf8 0%, #c084fc 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    min-height: 1.35em;
}

.bottom-motto-actions {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

@keyframes mottoFlashBurst {
    0% {
        opacity: 0;
        transform: scale(0.75);
    }
    25% {
        opacity: 0.95;
        transform: scale(1.05);
    }
    100% {
        opacity: 0;
        transform: scale(1.35);
    }
}

/* --- Přirozené příletové animace (fly-in) --- */
.fly-in-brand {
    opacity: 0;
    transform: translate3d(-18px, 6px, 0);
    animation: naturalFlyIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
}

.fly-in-sub {
    opacity: 0;
    transform: translate3d(18px, 4px, 0);
    animation: naturalFlyIn 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.22s forwards;
}

.fly-in-motto {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.985);
    animation: naturalMottoArrive 0.92s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

.fly-in-motto.is-replaying {
    animation: none;
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.985);
}

@keyframes naturalFlyIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes naturalMottoArrive {
    0% {
        opacity: 0;
        transform: translate3d(0, 26px, 0) scale(0.985);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fly-in-brand,
    .fly-in-sub,
    .fly-in-motto,
    .growth-bar,
    .growth-path,
    .growth-head,
    .growth-spark-core,
    .growth-spark-ring {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* --- Animace úvodního odstavce pod hlavním mottem --- */
.hero-sublead {
    position: relative;
    max-width: 680px;
    margin: 0 auto 34px;
    font-size: 1.12rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.sublead-part-1,
.sublead-part-2 {
    display: inline;
    opacity: 0;
    transform: translate3d(0, 14px, 0);
}

.sublead-part-1 {
    animation: subleadSettle 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

.sublead-part-2 {
    animation: subleadSettle 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.92s forwards;
}

.sublead-highlight {
    color: #e2e8f0;
    font-weight: 500;
    background: linear-gradient(90deg, #e2e8f0 0%, #c4b5fd 50%, #e2e8f0 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: subleadShimmer 4.8s ease-in-out 1.65s infinite;
}

@keyframes subleadSettle {
    0% {
        opacity: 0;
        transform: translate3d(0, 14px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes subleadShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sublead-part-1,
    .sublead-part-2,
    .sublead-highlight {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        -webkit-text-fill-color: currentColor;
    }
}

/* --- Ambientní animace na pozadí: z nápadu velké peníze --- */
body {
    position: relative;
}

.bg-opportunity-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.navbar-pro,
main,
footer {
    position: relative;
    z-index: 1;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(75px);
    opacity: 0.22;
    animation: orbDrift 18s ease-in-out infinite alternate;
}

.bg-orb-1 {
    width: 420px;
    height: 420px;
    top: 8%;
    left: -80px;
    background: radial-gradient(circle, #8b5cf6, transparent 70%);
}

.bg-orb-2 {
    width: 480px;
    height: 480px;
    bottom: 6%;
    right: -110px;
    background: radial-gradient(circle, #38bdf8, transparent 70%);
    animation-delay: -6s;
}

.bg-orb-3 {
    width: 340px;
    height: 340px;
    top: 48%;
    left: 42%;
    background: radial-gradient(circle, #10b981, transparent 70%);
    opacity: 0.11;
    animation-delay: -11s;
}

.bg-surge-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.32;
}

.bg-surge-line {
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: bgSurgeDraw 7.5s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.bg-surge-line-alt {
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: bgSurgeDraw 9.5s cubic-bezier(0.22, 1, 0.36, 1) 2.2s infinite;
}

.bg-floating-token {
    position: absolute;
    font-weight: 800;
    user-select: none;
    color: rgba(196, 181, 253, 0.14);
    text-shadow: 0 0 18px rgba(139, 92, 246, 0.2);
    animation: tokenRise linear infinite;
}

.bg-floating-token.is-big {
    color: rgba(52, 211, 153, 0.16);
    font-size: clamp(1.3rem, 2.5vw, 2.2rem);
}

@keyframes orbDrift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(38px, -28px, 0) scale(1.12);
    }
}

@keyframes bgSurgeDraw {
    0% {
        stroke-dashoffset: 1400;
        opacity: 0.15;
    }
    35% {
        opacity: 0.75;
    }
    75% {
        stroke-dashoffset: 0;
        opacity: 0.55;
    }
    100% {
        stroke-dashoffset: -1400;
        opacity: 0;
    }
}

@keyframes tokenRise {
    0% {
        transform: translate3d(0, 24px, 0) scale(0.85);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translate3d(28px, -110px, 0) scale(1.18);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bg-opportunity-layer {
        display: none;
    }
}

/* --- Výrazné celostránkové pozadí pro idevo.cz --- */
body {
    animation: bgGridPan 28s linear infinite;
}

.bg-opportunity-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 18%, rgba(139, 92, 246, 0.24), transparent 45%),
        radial-gradient(circle at 82% 24%, rgba(56, 189, 248, 0.18), transparent 45%),
        radial-gradient(circle at 50% 88%, rgba(16, 185, 129, 0.14), transparent 50%);
}

.bg-orb {
    opacity: 0.34;
    filter: blur(80px);
}

.bg-orb-1 {
    width: 480px;
    height: 480px;
    top: 4%;
    left: -90px;
}

.bg-orb-2 {
    width: 540px;
    height: 540px;
    bottom: -60px;
    right: -110px;
}

.bg-orb-3 {
    width: 400px;
    height: 400px;
    top: 42%;
    left: 38%;
    opacity: 0.18;
}

.bg-surge-svg {
    opacity: 0.56;
}

.bg-surge-glow {
    filter: drop-shadow(0 0 10px rgba(192, 132, 252, 0.45)) drop-shadow(0 0 18px rgba(52, 211, 153, 0.28));
}

.bg-node-pulse {
    transform-box: fill-box;
    transform-origin: center;
    animation: bgNodeBeat 2.8s ease-in-out infinite;
}

.bg-floating-token {
    color: rgba(221, 214, 254, 0.26);
    text-shadow: 0 0 22px rgba(139, 92, 246, 0.35);
    font-weight: 700;
}

.bg-floating-token.is-big {
    color: rgba(110, 231, 183, 0.32);
    text-shadow: 0 0 24px rgba(16, 185, 129, 0.35);
    font-size: clamp(1.45rem, 2.8vw, 2.5rem);
}

@keyframes bgGridPan {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 0 -96px, 96px 0;
    }
}

@keyframes bgNodeBeat {
    0%, 100% {
        transform: scale(0.85);
        opacity: 0.45;
    }
    50% {
        transform: scale(1.45);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    body {
        animation: none !important;
    }
    .bg-node-pulse {
        animation: none !important;
    }
}

/* --- Čistý a vyvážený vzhled hlavního motta --- */
.idevo-hero-motto-card {
    max-width: 820px;
    margin: 0 auto 28px;
    padding: 32px 28px;
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(20, 20, 34, 0.9), rgba(11, 11, 19, 0.94));
    border: 1px solid rgba(167, 139, 250, 0.28);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    text-align: center;
}

.idevo-motto-main {
    margin: 0;
    font-size: clamp(2rem, 4.4vw, 3.35rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, #a5b4fc 0%, #d8b4fe 52%, #7dd3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.idevo-motto-sub {
    margin: 14px auto 0;
    max-width: 640px;
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    font-weight: 500;
    line-height: 1.55;
    color: #cbd5e1;
}

/* --- Záblesk hlavního motta + připlutí menšího textu --- */
.idevo-motto-stage {
    position: relative;
    overflow: hidden;
    max-width: 840px;
    margin: 0 auto 28px;
    padding: 36px 28px;
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(20, 20, 34, 0.92), rgba(10, 10, 18, 0.96));
    border: 1px solid rgba(167, 139, 250, 0.32);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.idevo-flash-beam {
    position: absolute;
    inset: -30% -15%;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.72), rgba(192, 132, 252, 0.45) 35%, rgba(56, 189, 248, 0.2) 60%, transparent 78%);
    animation: idevoMottoFlash 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
}

.idevo-motto-main {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: clamp(2.05rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, #a5b4fc 0%, #e879f9 50%, #7dd3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: idevoMainAppear 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.16s forwards;
}

.idevo-motto-drift {
    position: relative;
    z-index: 1;
    margin: 14px auto 0;
    max-width: 640px;
    font-size: clamp(1rem, 1.75vw, 1.24rem);
    font-weight: 500;
    line-height: 1.55;
    color: #cbd5e1;
    opacity: 0;
    transform: translate3d(34px, 8px, 0);
    animation: idevoSubDriftIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.65s forwards;
}

@keyframes idevoMottoFlash {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    25% {
        opacity: 0.95;
        transform: scale(1.06);
    }
    100% {
        opacity: 0;
        transform: scale(1.35);
    }
}

@keyframes idevoMainAppear {
    0% {
        opacity: 0;
        transform: scale(0.95);
        filter: brightness(1.9) blur(3px);
    }
    40% {
        opacity: 1;
        filter: brightness(1.35) blur(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1) blur(0);
    }
}

@keyframes idevoSubDriftIn {
    0% {
        opacity: 0;
        transform: translate3d(34px, 8px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .idevo-flash-beam,
    .idevo-motto-main,
    .idevo-motto-drift {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

/* --- Volné motto bez rámečku: záblesk + připlutí podtextu --- */
.idevo-motto-open {
    position: relative;
    max-width: 880px;
    margin: 0 auto 28px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: center;
}

.idevo-open-flash {
    position: absolute;
    left: 50%;
    top: 38%;
    width: min(620px, 92vw);
    height: 150px;
    transform: translate(-50%, -50%) scale(0.75);
    border-radius: 999px;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle, rgba(216, 180, 254, 0.55), rgba(56, 189, 248, 0.22) 48%, transparent 75%);
    filter: blur(22px);
    animation: idevoOpenFlashAnim 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.idevo-motto-open .idevo-motto-main {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: clamp(2.15rem, 4.8vw, 3.65rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, #a5b4fc 0%, #e879f9 52%, #7dd3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: idevoMainAppear 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.idevo-motto-open .idevo-motto-drift {
    position: relative;
    z-index: 1;
    margin: 14px auto 0;
    max-width: 660px;
    font-size: clamp(1.05rem, 1.85vw, 1.3rem);
    font-weight: 500;
    line-height: 1.55;
    color: #cbd5e1;
    opacity: 0;
    transform: translate3d(38px, 6px, 0);
    animation: idevoSubDriftIn 0.92s cubic-bezier(0.22, 1, 0.36, 1) 0.65s forwards;
}

@keyframes idevoOpenFlashAnim {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.65);
    }
    28% {
        opacity: 0.95;
        transform: translate(-50%, -50%) scale(1.08);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.38);
    }
}

@media (prefers-reduced-motion: reduce) {
    .idevo-open-flash,
    .idevo-motto-open .idevo-motto-main,
    .idevo-motto-open .idevo-motto-drift {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

/* --- Sjednocení headeru idevo.cz --- */
.nav-pro-inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
flex-wrap: nowrap;
}

.idevo-logo {
display: inline-flex;
align-items: center;
gap: 12px;
text-decoration: none;
flex-shrink: 0;
}

.idevo-logo-mark {
width: 40px;
height: 40px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 10px;
background: rgba(15, 15, 26, 0.9);
border: 1px solid rgba(167, 139, 250, 0.35);
flex-shrink: 0;
}

.idevo-logo-mark .idevo-growth-svg {
width: 28px;
height: 28px;
display: block;
}

.idevo-wordmark {
display: flex;
flex-direction: column;
line-height: 1.15;
}

.idevo-name {
font-weight: 800;
font-size: 1.15rem;
color: #f8fafc;
}

.idevo-name span {
color: #38bdf8;
}

.idevo-sub {
font-size: 0.75rem;
color: #94a3b8;
text-transform: none;
}

.nav-pro-links {
display: flex;
align-items: center;
gap: 18px;
flex-wrap: wrap;
}

@media (max-width: 768px) {
.nav-pro-inner {
    flex-wrap: wrap;
}
.nav-pro-links {
    gap: 10px;
}
}

/* --- Funkční lišta katalogu (hledání, řazení, jen volné) --- */
.catalog-toolbar {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 22px;
}

.catalog-sort {
    min-width: 210px;
}

.catalog-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 12px;
    background: rgba(15, 15, 26, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    user-select: none;
}

.catalog-empty {
    margin-top: 20px;
    padding: 28px;
    text-align: center;
    border-radius: 18px;
    background: rgba(15, 15, 26, 0.8);
    border: 1px dashed rgba(148, 163, 184, 0.3);
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .catalog-toolbar {
        grid-template-columns: 1fr;
    }
    .catalog-sort {
        min-width: 100%;
    }
}

/* --- Sekce referencí dole na stránce --- */
.references-section {
    padding: 56px 0 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.project-card.is-reference {
    opacity: 0.92;
    border-style: dashed;
    border-color: rgba(148, 163, 184, 0.28);
}

/* --- Nahrazení lišty hledání/řazení za čistý pás Nápad -> Realizace -> Byznys --- */
.catalog-value-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    margin-bottom: 24px;
    border-radius: 16px;
    background: rgba(15, 15, 26, 0.78);
    border: 1px solid rgba(167, 139, 250, 0.22);
}

.catalog-flow-note {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #e2e8f0;
}

.flow-sep {
    color: #a78bfa;
}

.flow-hint {
    margin-left: 6px;
    font-weight: 400;
    color: var(--text-secondary);
}

.catalog-custom-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #7dd3fc;
    text-decoration: none;
    white-space: nowrap;
}

.catalog-custom-link:hover {
    color: #bae6fd;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .catalog-value-strip {
        flex-direction: column;
        align-items: flex-start;
    }
    .flow-hint {
        margin-left: 0;
        width: 100%;
    }
}

/* --- Vycentrování motta i úvodního textu v hero sekci --- */
.hero .container,
.idevo-motto-open,
.idevo-motto-main,
.idevo-motto-drift,
.hero-sublead,
.sublead-part-1,
.sublead-part-2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.idevo-motto-open {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
}

.idevo-motto-main {
    width: 100%;
    text-align: center;
}

.idevo-motto-drift {
    width: 100%;
    max-width: 720px;
    text-align: center;
}

.hero-sublead {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 780px;
    text-align: center;
}

.sublead-part-1,
.sublead-part-2 {
    display: block;
    width: 100%;
    text-align: center;
}

/* --- Sekce veřejných poptávek s kategoriemi --- */
.demands-section {
    padding: 56px 0 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.demand-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.demand-filter-btn {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(167, 139, 250, 0.28);
    background: rgba(15, 15, 26, 0.85);
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.demand-filter-btn.active,
.demand-filter-btn:hover {
    background: rgba(139, 92, 246, 0.22);
    border-color: rgba(192, 132, 252, 0.7);
    color: #f8fafc;
}

.demands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.demand-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(15, 15, 26, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.demand-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.demand-cat-badge {
    font-size: 0.78rem;
    font-weight: 700;
    color: #c4b5fd;
    background: rgba(139, 92, 246, 0.16);
    padding: 4px 10px;
    border-radius: 999px;
}

.demand-budget {
    font-size: 0.86rem;
    font-weight: 700;
    color: #34d399;
}

.demand-title {
    margin: 0;
    font-size: 1.12rem;
    color: #f8fafc;
}

.demand-summary {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.demand-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.demand-meta {
    font-size: 0.78rem;
    color: #94a3b8;
}

.demand-publish-box {
    padding: 14px;
    border-radius: 14px;
    background: rgba(15, 15, 26, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.demand-publish-toggle {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #e2e8f0;
    cursor: pointer;
}

/* --- Čisté zobrazení loga, hlavičky a středového motta --- */
header.navbar-pro {
position: sticky;
top: 0;
z-index: 50;
backdrop-filter: blur(12px);
background: rgba(10, 10, 18, 0.85);
border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.nav-pro-inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
min-height: 68px;
}

.idevo-logo {
display: inline-flex;
align-items: center;
gap: 12px;
text-decoration: none;
white-space: nowrap;
flex-shrink: 0;
}

.idevo-logo-mark {
width: 40px;
height: 40px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 10px;
background: rgba(20, 20, 34, 0.92);
border: 1px solid rgba(167, 139, 250, 0.35);
flex-shrink: 0;
}

.idevo-logo-mark svg,
.idevo-growth-svg {
width: 26px;
height: 26px;
display: block;
}

.hero-growth-stage .idevo-growth-svg {
width: 64px;
height: 64px;
margin: 0 auto 14px;
}

.idevo-wordmark {
display: flex;
flex-direction: column;
line-height: 1.15;
}

.idevo-name {
font-size: 1.15rem;
font-weight: 800;
color: #f8fafc;
}

.idevo-name span {
color: #38bdf8;
}

.idevo-sub {
font-size: 0.75rem;
color: #94a3b8;
}

.nav-pro-links {
display: flex;
align-items: center;
gap: 16px;
flex-wrap: wrap;
}
