:root {
    --primary-navy: #1A365D;
    --primary-white: #FFFFFF;
    --primary-gray: #F7FAFC;
    --surface-light: #EDF2F7;
    --accent-teal: #2C7A7B;
    --accent-gold: #B7950B;
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --border-light: #E2E8F0;
    --success-green: #276749;
    --shadow-soft: 0 10px 30px rgba(26, 54, 93, 0.10);
    --shadow-strong: 0 18px 45px rgba(26, 54, 93, 0.16);
    --radius-s: 6px;
    --radius-m: 10px;
    --radius-l: 14px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', 'IBM Plex Sans', 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--primary-gray);
}

a {
    color: var(--primary-navy);
    text-decoration: none;
}

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

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

section {
    padding: 72px 0;
}

.section-header {
    margin-bottom: 40px;
    text-align: left;
}

.section-header h2 {
    font-size: 2.2rem;
    margin: 0 0 12px 0;
    color: var(--primary-navy);
}

.section-header p {
    margin: 0;
    color: var(--text-secondary);
    max-width: 700px;
}

.eyebrow {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(26, 54, 93, 0.08);
    color: var(--primary-navy);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    font-size: 0.82rem;
    border-radius: var(--radius-s);
}

.text-muted { color: var(--text-secondary); }

/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

header.is-scrolled {
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.12);
    border-color: rgba(26, 54, 93, 0.08);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 14px 0;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.brand-tagline {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

nav {
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
    font-weight: 600;
    color: var(--text-primary);
    padding: 8px 0;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switcher {
    display: flex;
    align-items: center;
    background: var(--primary-gray);
    padding: 6px 10px;
    border-radius: var(--radius-s);
    border: 1px solid var(--border-light);
}

.lang-switcher a {
    font-weight: 700;
    color: var(--text-secondary);
    padding: 4px 6px;
}

.lang-switcher a.active {
    color: var(--primary-navy);
}

.lang-switcher .separator {
    color: var(--border-light);
    margin: 0 6px;
}

.nav-cta {
    padding: 10px 18px;
}

/* Hero */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: var(--primary-white);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 54, 93, 0.70);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero .eyebrow {
    background: rgba(255, 255, 255, 0.15);
    color: var(--primary-white);
}

.hero h1 {
    font-size: 3rem;
    margin: 12px 0;
    letter-spacing: -0.02em;
}

.hero p {
    max-width: 720px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
    margin-top: 26px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--radius-s);
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    text-decoration: none;
    padding: 12px 22px;
}

.btn-primary {
    background: var(--primary-navy);
    color: var(--primary-white);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background: #2C5282;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-navy);
    border-color: var(--primary-navy);
}

.btn-secondary:hover {
    background: var(--primary-navy);
    color: var(--primary-white);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border-light);
}

/* Grids & cards */
.grid {
    display: grid;
    gap: 24px;
}

.grid.two-col { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid.three-col { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.four-col { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
    background: var(--primary-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-m);
    padding: 22px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(26, 54, 93, 0.16);
}

.card h3, .card h4 { margin-top: 0; color: var(--primary-navy); }

.card img.cover {
    border-radius: var(--radius-s);
    margin-bottom: 16px;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.stat-band {
    background: var(--primary-navy);
    color: var(--primary-white);
    padding: 40px 0;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.stat-card {
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-m);
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.stat-label {
    margin: 6px 0 0 0;
    color: rgba(255, 255, 255, 0.8);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--surface-light);
    border-radius: var(--radius-m);
    border: 1px solid var(--border-light);
    font-weight: 600;
    color: var(--text-primary);
}

.category-card {
    border-top: 4px solid var(--primary-navy);
}

.category-card .meta {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.category-card .card-actions {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.industry-card {
    text-align: left;
    padding: 24px;
}

.industry-card .icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-s);
    background: var(--surface-light);
    display: grid;
    place-items: center;
    color: var(--primary-navy);
    font-weight: 700;
    margin-bottom: 12px;
}

.value-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
}

.value-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.value-list li::before {
    content: "✓";
    color: var(--accent-teal);
    font-weight: 700;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: var(--primary-gray);
    color: var(--text-primary);
    border-radius: var(--radius-s);
    border: 1px solid var(--border-light);
    font-weight: 600;
}

.split {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: center;
}

.highlight-box {
    background: var(--primary-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-l);
    padding: 28px;
    box-shadow: var(--shadow-soft);
}

/* Tables */
.product-specs {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-family: 'IBM Plex Sans', sans-serif;
}

.product-specs th {
    background: var(--primary-navy);
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.product-specs td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
}

.product-specs tr:nth-child(even) {
    background: var(--primary-gray);
}

/* Timeline */
.timeline {
    border-left: 3px solid var(--border-light);
    padding-left: 22px;
    margin: 0;
    list-style: none;
}

.timeline li {
    position: relative;
    margin-bottom: 24px;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-navy);
}

.timeline h4 {
    margin: 0 0 6px 0;
}

/* Footer */
footer {
    background: #0F213D;
    color: rgba(255, 255, 255, 0.9);
    padding: 56px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 28px;
}

.footer-block h4 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-legal {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Utility */
.tag-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.table-wrapper {
    background: var(--primary-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-soft);
    padding: 16px;
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.list-grid li {
    background: var(--primary-white);
    padding: 12px 14px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-s);
}

.cta-panel {
    background: #0F213D;
    color: #fff;
    padding: 36px;
    border-radius: var(--radius-l);
    display: grid;
    grid-template-columns: 1.3fr auto;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-strong);
}

.cta-panel h3 {
    margin: 0 0 10px 0;
    color: #fff;
}

.cta-panel p { margin: 0; color: rgba(255, 255, 255, 0.86); }

.download-item,
.news-item {
    background: var(--primary-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-m);
    padding: 18px;
    box-shadow: var(--shadow-soft);
}

.download-meta,
.news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 10px;
}

.faq-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-m);
    background: var(--primary-white);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-item button {
    width: 100%;
    text-align: left;
    padding: 16px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item .answer {
    display: none;
    padding: 0 16px 16px;
    color: var(--text-secondary);
}

.faq-item.open .answer {
    display: block;
}

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

.contact-card {
    background: var(--primary-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-m);
    padding: 18px;
    box-shadow: var(--shadow-soft);
}

.contact-card h4 { margin: 0 0 6px 0; }

.form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--text-primary);
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-s);
    font-family: inherit;
    font-size: 1rem;
    background: var(--primary-white);
}

/* Language display */
body.lang-cs [lang="en"] { display: none !important; }
body.lang-en [lang="cs"] { display: none !important; }

/* Responsive */
@media (max-width: 960px) {
    .header-inner {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    nav {
        justify-content: flex-start;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 12px;
    }

    .cta-panel {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.4rem;
    }
}
