/* Obecné styly */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #102a43;
    background-color: #f8fbff;
}

h1, h2, h3 {
    margin: 0;
}

*, *::before, *::after {
    box-sizing: inherit;
}

p {
    margin: 0;
}

a {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

a:hover {
    opacity: 0.9;
}

/* Hlavička */
.header {
    padding: 1rem 0;
    background-color: #043873;
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.header .menu .nav-link {
    margin: 0 1rem;
    color: white;
    text-decoration: none;
    padding: 0.5rem 0;
}

.header .menu .nav-link:hover,
.header .menu .nav-link:focus {
    color: #ffe492;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.35);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(79, 156, 249, 0.35);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-buttons .login {
    color: #ffe492;
    text-decoration: none;
    font-weight: 600;
}

.header-buttons .cta {
    background-color: #007BFF;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    text-decoration: none;
    display: inline-block;
}

/* Hlavní sekce */
.hero {
    padding: 6rem 4rem;
    background-color: #043873;
    color: white;
}

.hero-text {
    max-width: 640px;
    display: grid;
    gap: 1.5rem;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 4.5rem);
    line-height: 1.05;
}

.hero p {
    font-size: 1.125rem;
    max-width: 60ch;
}

.hero-image {
    min-height: 360px;
    flex: 1;
    border-radius: 32px;
    background: linear-gradient(135deg, #8fd3ff, #4f9cf9);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.dot-cluster {
    position: absolute;
    inset: 0;
}

.dot {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(4, 56, 115, 0.2);
    animation: floatDot 6s ease-in-out infinite;
}

.dot::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.18;
    animation: pulseDot 3s ease-in-out infinite;
}

.dot-blue {
    top: 22%;
    left: 18%;
    width: 28px;
    height: 28px;
    background: #1d74f5;
}

.dot-yellow {
    top: 30%;
    right: 20%;
    width: 20px;
    height: 20px;
    background: #ffe492;
    animation-delay: -1s;
}

.dot-green {
    bottom: 26%;
    left: 28%;
    width: 18px;
    height: 18px;
    background: #32d583;
    animation-delay: -2.3s;
}

.dot-red {
    bottom: 18%;
    right: 26%;
    width: 24px;
    height: 24px;
    background: #ff6b6b;
    animation-delay: -3.2s;
}

.dot-orange {
    top: 48%;
    left: 52%;
    width: 16px;
    height: 16px;
    background: #ff9f43;
    animation-delay: -1.7s;
}

@keyframes floatDot {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0, -16px, 0) scale(1.08);
    }
}

@keyframes pulseDot {
    0%,
    100% {
        transform: scale(0.8);
        opacity: 0.1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.24;
    }
}

.hero .highlight {
    text-decoration: underline;
    text-decoration-color: #ffe492;
    text-decoration-thickness: 6px;
    text-underline-offset: 8px;
}

.hero .cta {
    background-color: #007BFF;
    color: white;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
}

/* Sekce */
.section {
    padding: 5rem 4rem;
    background-color: white;
    color: #043873;
}

.section h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.section h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.section p + p {
    margin-top: 1rem;
}

.section.dark {
    background: linear-gradient(135deg, #031d42 0%, #0a4f9b 45%, #1f7ae0 100%);
    color: white;
}

.section .cta {
    background-color: #007BFF;
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    display: inline-block;
    margin-top: 1.5rem;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.case-grid,
.checklist-grid,
.faq-list {
    display: grid;
    gap: 1.25rem;
}

.feature-list {
    display: grid;
    gap: 1.25rem;
}

.feature-list.row {
    display: flex;
    gap: 0;
}

.feature-card,
.case-card,
.check-item,
.faq-item,
.plan,
.stats-panel,
.timeline-item {
    border-radius: 24px;
}

.feature-card,
.case-card,
.faq-item {
    padding: 1.5rem;
    background-color: #f2f7ff;
    border: 1px solid #d9e9ff;
}

.industries .feature-card {
    background-color: #ffffff;
}

.stats-panel {
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    gap: 1rem;
}

.stat-item {
    display: grid;
    gap: 0.5rem;
}

.stat-item strong {
    font-size: 1.05rem;
}

.case-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-card {
    background-color: #f8fbff;
    border: 1px solid #d8e6fb;
}

.case-metric {
    margin-top: 1rem;
    font-weight: 700;
    color: #007BFF;
}

.checklist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-item {
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.process-section {
    background: linear-gradient(180deg, #ffffff, #f4f9ff);
}

.timeline {
    display: grid;
    gap: 1rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #ffffff;
    border: 1px solid #d8e6fb;
}

.timeline-step {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background-color: #043873;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

/* Ceník */
.pricing {
    padding: 5rem 4rem;
    background-color: white;
}

.plan {
    border: 1px solid #043873;
    padding: 2rem;
    text-align: left;
    background-color: #ffffff;
}

.plan.highlighted {
    background: linear-gradient(145deg, #0a2a57 0%, #0f5ec2 55%, #4fa7ff 100%);
    color: white;
}

.faq-section {
    background-color: #eef6ff;
}

/* Patička */
.footer {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(120deg, #031b3d 0%, #0b4d9a 50%, #1d7cf2 100%);
    color: white;
}

.footer p {
    max-width: 760px;
    margin: 0 auto 1.5rem;
    font-size: 1.125rem;
}

.footer .cta {
    background-color: #4f9cf9;
    color: white;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    text-decoration: none;
    display: inline-block;
}

@media (max-width: 1000px) {
    .feature-list,
    .case-grid,
    .checklist-grid {
        grid-template-columns: 1fr;
    }

    .header {
        padding: 0.85rem 0;
    }

    .hero,
    .section,
    .pricing {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .header-buttons {
        margin-top: 1rem;
        flex-direction: column;
        align-items: stretch;
    }

    .hero {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .hero-image {
        min-height: 240px;
    }
}