/* Reset a základní styly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.legal-document {
    overflow-x: auto;
}

.legal-text {
    margin: 0;
    white-space: pre-wrap;
    line-height: 1.6;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.98rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f9fafb;
}

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

/* Navigace */
.navbar {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-link span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

/* Rozměry loga v navigaci – pevně, aby se nikdy neroztáhlo */
.brand-logo,
.nav-brand .brand-link img {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    border-radius: 12px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

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

.nav-menu a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2563eb;
}

/* Hero sekce */
.hero {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-logo,
.hero .hero-content img {
    width: 104px !important;
    height: 104px !important;
    max-width: 104px !important;
    max-height: 104px !important;
    border-radius: 24px;
    object-fit: contain;
    margin-bottom: 1.25rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.28);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Tlačítka */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: white;
    color: #2563eb;
}

.btn-secondary:hover {
    background: #f3f4f6;
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-outline {
    background: transparent;
    border: 2px solid #2563eb;
    color: #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    width: 100%;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Sekce */
section {
    padding: 4rem 0;
}

h2 {
    border-color: rgba(0, 0, 0, 0);
    background-color: unset;
    background: unset;
    border-image: none;
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

/* Features */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: #f9fafb;
    border-radius: 0.5rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

/* Ceník */
.pricing {
    background: #f9fafb;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
}

.pricing-card.featured {
    border: 3px solid #2563eb;
    transform: scale(1.05);
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #2563eb;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: #1f2937;
}

.price {
    text-align: center;
    margin: 1.5rem 0;
}

.price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
}

.price .currency {
    font-size: 1.2rem;
    color: #666;
    margin-left: 0.5rem;
}

.features-list {
    list-style: none;
    margin: 1.5rem 0;
}

.features-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-card .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Kontakt */
.contact {
    background: white;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.contact-item h3 {
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #2563eb;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Formuláře */
.product-section {
    padding: 3rem 0;
    background: white;
}

.product-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-logo,
.product-header img {
    width: 88px !important;
    height: 88px !important;
    max-width: 88px !important;
    max-height: 88px !important;
    border-radius: 22px;
    object-fit: contain;
    margin: 0 auto 1rem;
    display: block;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.15);
}

.product-header h1 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.product-header p {
    max-width: 720px;
    margin: 0 auto;
    color: #4b5563;
}

.product-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.order-form {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 0.5rem;
}

.order-form h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group select,
.filter-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.license-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.license-option {
    cursor: pointer;
}

.license-option input[type="radio"] {
    display: none;
}

.license-card {
    background: white;
    padding: 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: all 0.3s;
    position: relative;
}

.license-option input[type="radio"]:checked + .license-card {
    border-color: #2563eb;
    background: #eff6ff;
}

.license-card.featured {
    border-color: #2563eb;
}

.license-card h3 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.license-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin: 0.5rem 0;
}

.license-card ul {
    list-style: none;
    font-size: 0.875rem;
    color: #6b7280;
}

.license-card ul li {
    padding: 0.25rem 0;
}

.license-card .btn {
    width: 100%;
    margin-top: 1rem;
    text-align: center;
    box-sizing: border-box;
}

.form-summary {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-summary h3 {
    margin-bottom: 0.5rem;
    color: #374151;
}

.total-price {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
}

.total-price .currency {
    font-size: 1.2rem;
    color: #6b7280;
    margin-left: 0.5rem;
}

.form-note {
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid #2563eb;
}

.info-card h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.info-card ul,
.info-card ol {
    margin-left: 1.5rem;
}

.info-card li {
    margin-bottom: 0.5rem;
}

/* Potvrzení objednávky */
.confirmation-section {
    padding: 3rem 0;
    background: white;
}

.confirmation-header {
    text-align: center;
    margin-bottom: 3rem;
}

.confirmation-logo,
.confirmation-header img {
    width: 90px !important;
    height: 90px !important;
    max-width: 90px !important;
    max-height: 90px !important;
    border-radius: 22px;
    object-fit: contain;
    margin: 0 auto 1rem;
    display: block;
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.16);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    color: white;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.confirmation-content {
    max-width: 800px;
    margin: 0 auto;
}

.order-info-card {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.order-info-card h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.order-details {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    font-weight: 600;
    color: #6b7280;
}

.detail-row .value {
    color: #1f2937;
}

.status-pending {
    color: #f59e0b;
}

.status-paid {
    color: #10b981;
}

.status-completed {
    color: #2563eb;
}

.payment-section {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.payment-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.qr-code-container {
    text-align: center;
    margin-bottom: 2rem;
}

.qr-code {
    max-width: 300px;
    border: 4px solid white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.qr-note {
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.payment-details {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.payment-details h3 {
    margin-bottom: 1rem;
    color: #1f2937;
}

.payment-info-grid {
    display: grid;
    gap: 1rem;
}

.payment-info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 0.375rem;
}

.payment-info-item .label {
    font-weight: 600;
    color: #6b7280;
}

.payment-info-item .value {
    color: #1f2937;
}

.payment-info-item .value.highlight {
    color: #2563eb;
    font-weight: 700;
}

.next-steps {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.next-steps h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.steps-list {
    list-style: none;
    counter-reset: step-counter;
}

.steps-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.5rem;
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.steps-list li strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #1f2937;
}

.steps-list li p {
    color: #6b7280;
}

.demo-info {
    background: #eff6ff;
    padding: 2rem;
    border-radius: 0.5rem;
    border-left: 4px solid #2563eb;
    margin-bottom: 2rem;
}

.contact-help {
    text-align: center;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.coming-soon-logo,
.coming-soon img,
main.coming-soon img {
    width: 120px !important;
    height: 120px !important;
    max-width: 120px !important;
    max-height: 120px !important;
    border-radius: 28px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.18);
}

.test-logo,
.test-pristup img {
    width: 72px !important;
    height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
    border-radius: 18px;
    object-fit: contain;
    display: block;
    margin: 0 auto 1rem;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.15);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Admin rozhraní */
.admin-body {
    background: #f3f4f6;
}

.admin-nav {
    background: #1f2937;
}

.admin-nav .nav-brand h1 {
    color: white;
}

.admin-nav .nav-menu a {
    color: #d1d5db;
}

.admin-nav .nav-menu a:hover,
.admin-nav .nav-menu a.active {
    color: white;
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

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

.admin-header h1 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.admin-header p {
    color: #6b7280;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    font-size: 2.5rem;
}

.stat-content h3 {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
}

.admin-section {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.5rem;
    color: #1f2937;
    margin: 0;
    text-align: left;
}

.filters {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-group label {
    font-weight: 600;
    color: #374151;
}

.table-container {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.admin-table th {
    background: #f9fafb;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
}

.admin-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.admin-table tr:hover {
    background: #f9fafb;
}

.admin-table code {
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-full {
    background: #dbeafe;
    color: #1e40af;
}

.badge-demo {
    background: #fef3c7;
    color: #92400e;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-badge.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.status-paid {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.status-completed {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.status-used {
    background: #e5e7eb;
    color: #374151;
}

.status-badge.status-available {
    background: #d1fae5;
    color: #065f46;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: #9ca3af;
}

.key-code {
    font-weight: 600;
    color: #2563eb;
}

.hash-short {
    color: #6b7280;
    font-size: 0.75rem;
}

.info-box {
    background: #eff6ff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 4px solid #2563eb;
    margin-top: 2rem;
}

.info-box h3 {
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.admin-footer {
    background: #1f2937;
    color: #d1d5db;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

/* Stránkování */
.pagination {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.pagination-info {
    text-align: center;
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.pagination-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.page-number {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: all 0.2s;
}

.page-number:hover {
    background: #f3f4f6;
    border-color: #2563eb;
    color: #2563eb;
}

.page-number.active {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.page-ellipsis {
    padding: 0.5rem;
    color: #9ca3af;
}

/* Responzivita */
@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .nav-menu {
        gap: 1rem;
    }

    .brand-link span {
        font-size: 1.25rem;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
        max-width: 40px;
        max-height: 40px;
        border-radius: 10px;
    }

    .hero-logo,
    .coming-soon-logo,
    .section-logo,
    .confirmation-logo {
        width: 80px;
        height: 80px;
        max-width: 80px;
        max-height: 80px;
        border-radius: 20px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
}

/* Stránky s obsahem (O programu, Návod) */
.content-page {
    padding: 3rem 0;
    background: white;
}

/* Návod: první objednávka – jemné pozadí (obrázek + bílý průklep pro čitelnost).
   Dvojitá třída kvůli vyšší specificitě vůči pozdějším .content-page pravidlům. */
.content-page.content-page--navod-pozadi {
    background-color: #f3f4f6;
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(249, 250, 251, 0.9) 45%, rgba(255, 255, 255, 0.88) 100%),
        var(--guide-bg-image, none);
    background-size: auto, cover;
    background-position: 0 0, center center;
    background-repeat: no-repeat, no-repeat;
    background-attachment: scroll, fixed;
}

@media (max-width: 768px) {
    .content-page.content-page--navod-pozadi {
        background-attachment: scroll, scroll;
    }
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
}

.page-logo {
    width: 90px !important;
    height: 90px !important;
    max-width: 90px !important;
    max-height: 90px !important;
    border-radius: 22px;
    object-fit: contain;
    margin: 0 auto 1.5rem;
    display: block;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.15);
}

.page-header h1 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

.content-section {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.content-section h2 {
    font-size: 2rem;
    color: #1f2937;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2563eb;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1rem;
}

.feature-detail {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    border-left: 4px solid #2563eb;
}

.feature-detail h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.feature-detail ul {
    list-style: none;
    padding: 0;
}

.feature-detail ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #4b5563;
    line-height: 1.6;
}

.feature-detail ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.tech-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.spec-item {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 3px solid #2563eb;
}

.spec-item strong {
    color: #1f2937;
    display: block;
    margin-bottom: 0.25rem;
}

.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 3rem 2rem;
    border-radius: 1rem;
    margin-top: 4rem;
}

.cta-section h2 {
    border: none;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Návod - placeholdery */
.tutorial-placeholder {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tutorial-item {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    position: relative;
    border: 2px dashed #d1d5db;
}

.tutorial-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tutorial-item h3 {
    font-size: 1.2rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.tutorial-item p {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.coming-soon-badge {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.tutorial-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-style: solid;
    border-color: #e5e7eb;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.tutorial-item-link:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
}

.tutorial-item-link h3 {
    color: #1f2937;
}

.tutorial-item-link:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 3px;
}

.tutorial-open-badge {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.guide-breadcrumb {
    max-width: 40rem;
    margin: -1.5rem auto 2rem;
    padding: 0 1rem;
}

.guide-breadcrumb a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.guide-breadcrumb a:hover {
    text-decoration: underline;
}

/* Souvislý textový návod (stránky typu „jak na to“) */
.guide-doc {
    max-width: 40rem;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.guide-doc .guide-lead {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #4b5563;
    margin-bottom: 2rem;
}

.guide-doc h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 2.25rem 0 0.85rem;
    padding: 0;
    border: none;
}

.guide-doc h2:first-of-type {
    margin-top: 0.5rem;
}

.guide-doc p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
    margin: 0 0 1rem;
}

.guide-doc .guide-closing {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
    color: #1f2937;
}

.guide-code {
    font-family: ui-monospace, monospace;
    background: #f3f4f6;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.95em;
    color: #1f2937;
    border: 1px solid #e5e7eb;
}

/* Tutoriálová stránka s kroky */
.guide-tutorial {
    max-width: 50rem;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}

.guide-intro {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #0ea5e9;
    padding: 1.25rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.guide-intro p {
    font-size: 1rem;
    line-height: 1.65;
    color: #0c4a6e;
    margin: 0;
}

.guide-section {
    margin-bottom: 1.75rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.guide-section-header {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    padding: 1rem 1.5rem;
    text-align: left !important;
}

.guide-section-header h2 {
    color: white;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    padding: 0;
    border: none;
    text-align: left !important;
}

.guide-content {
    padding: 1.5rem 1.5rem 1.75rem;
}

.guide-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 0.85rem;
    text-align: left;
}

.guide-content p:last-child {
    margin-bottom: 0;
}

.guide-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1f2937;
    margin: 1.75rem 0 0.75rem;
    text-align: left;
}

.guide-subsection {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2937;
    margin: 1.25rem 0 0.65rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid #e5e7eb;
    text-align: left;
}

.guide-subsection:first-child {
    margin-top: 0;
}

.guide-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.guide-field {
    background: #f9fafb;
    padding: 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.field-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.field-example {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 0.5rem;
    font-family: ui-monospace, monospace;
}

.field-desc {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.guide-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0.85rem;
}

.guide-list li {
    padding: 0.4rem 0 0.4rem 1.75rem;
    position: relative;
    color: #374151;
    line-height: 1.65;
    font-size: 1rem;
}

.guide-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

.guide-list li:last-child {
    padding-bottom: 0;
}

.guide-tip-box {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 0.9rem 1.25rem;
    border-radius: 0.4rem;
    margin: 1rem 0 0.85rem;
}

.guide-tip-box strong {
    color: #92400e;
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    text-align: left;
}

.guide-tip-box p {
    margin: 0;
    color: #78350f;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
}

.guide-note {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    padding: 0.9rem 1.25rem;
    border-radius: 0.4rem;
    margin: 1rem 0 0.85rem;
}

.guide-note strong {
    color: #1e40af;
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    text-align: left;
}

.guide-note p {
    margin: 0;
    color: #1e3a8a;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
}

.guide-feature-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.guide-feature-item {
    background: #f9fafb;
    padding: 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.guide-feature-item strong {
    display: block;
    color: #1f2937;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.guide-feature-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    text-align: left;
}

/* Snímky obrazovky v návodech */
.guide-figure {
    margin: 0.85rem 0 1.1rem;
}

.guide-figure-link {
    display: block;
    line-height: 0;
    border-radius: 0.5rem;
    cursor: zoom-in;
    outline-offset: 4px;
}

.guide-figure-link:hover img,
.guide-figure-link:focus-visible img {
    border-color: #2563eb;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.22);
}

/* Lightbox pro zvětšení obrázků návodu */
.guide-image-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
}

.guide-image-modal[hidden] {
    display: none !important;
}

.guide-image-modal__backdrop {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    border: none;
    background: rgba(15, 23, 42, 0.78);
    cursor: pointer;
}

.guide-image-modal__panel {
    position: relative;
    z-index: 1;
    max-width: min(96vw, 1400px);
    max-height: 92vh;
    padding: 0.65rem;
    background: #f8fafc;
    border: 2px solid #64748b;
    border-radius: 0.6rem;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.45);
}

.guide-image-modal__img {
    display: block;
    max-width: 100%;
    max-height: calc(92vh - 2.5rem);
    width: auto;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 0.35rem;
    border: 1px solid #cbd5e1;
}

.guide-image-modal__close {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0.35rem;
    background: rgba(255, 255, 255, 0.95);
    color: #334155;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.2);
}

.guide-image-modal__close:hover,
.guide-image-modal__close:focus-visible {
    background: #fff;
    color: #0f172a;
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.guide-figure img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 2px solid #9ca3af;
    border-radius: 0.5rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
}

.guide-figure-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0.85rem 0 1.1rem;
}

.guide-figure-row .guide-figure {
    margin: 0;
    flex: 1 1 220px;
    min-width: 0;
}

.guide-feature-item .guide-figure,
.guide-feature-item .guide-figure-row {
    margin-top: 0.75rem;
}

.guide-final-tip {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #86efac;
    border-radius: 0.75rem;
    padding: 1.75rem 2rem;
    margin-top: 3rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.guide-final-tip .tip-content {
    flex: 1;
    min-width: 0;
}

.guide-final-tip .guide-figure--in-tip {
    margin-top: 1rem;
    margin-bottom: 0;
}

.tip-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.tip-content strong {
    display: block;
    color: #166534;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.tip-content p {
    color: #15803d;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: left;
}

.help-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-box {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    border: 2px solid #e5e7eb;
}

.contact-box h3 {
    font-size: 1.3rem;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.contact-box p {
    font-size: 1rem;
    color: #4b5563;
}

.contact-box a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.contact-box a:hover {
    text-decoration: underline;
}

/* Responzivita pro content stránky */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .tutorial-placeholder {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

/* Profi redesign */
:root {
    --bg: #0b1120;
    --bg-soft: #111827;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: #ffffff;
    --line: rgba(148, 163, 184, 0.22);
    --text: #0f172a;
    --muted: #475569;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #0ea5e9;
    --success: #10b981;
    --shadow-lg: 0 24px 80px rgba(15, 23, 42, 0.18);
    --shadow-md: 0 14px 40px rgba(15, 23, 42, 0.10);
    --radius-lg: 24px;
    --radius-md: 18px;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.10), transparent 28%),
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, #f3f7fc 52%, #eef4fb 100%);
}

.container {
    max-width: 1240px;
}

.navbar {
    position: sticky;
    top: 16px;
    width: min(1240px, calc(100% - 24px));
    margin: 16px auto 0;
    border: 1px solid rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 22px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
}

.navbar .container {
    max-width: none;
    padding: 0.9rem 1.2rem;
}

.brand-link span {
    color: #0f172a;
    letter-spacing: -0.02em;
}

.nav-menu {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-menu a {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 600;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-dark);
    background: rgba(37, 99, 235, 0.10);
}

/* Hamburger tlačítko – na desktopu skryté */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s;
    flex-shrink: 0;
}
.nav-toggle:hover {
    background: rgba(37, 99, 235, 0.08);
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #0f172a;
    border-radius: 2px;
    transition: all 0.3s;
    transform-origin: center;
}
.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(15, 23, 42, 0.34);
    color: #e2e8f0;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow-light {
    background: rgba(37, 99, 235, 0.10);
    border-color: rgba(37, 99, 235, 0.18);
    color: var(--primary-dark);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-heading h2 {
    margin: 1rem 0 0.85rem;
}

.section-subtitle {
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.75;
}

.hero {
    padding: 7rem 0 5rem;
    background:
        radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.18), transparent 20%),
        radial-gradient(circle at 85% 25%, rgba(37, 99, 235, 0.24), transparent 22%),
        linear-gradient(135deg, #0f172a 0%, #14213d 48%, #1d4ed8 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 2rem;
    align-items: center;
}

.hero-copy,
.hero-panel-card {
    position: relative;
    z-index: 1;
}

.hero-copy {
    text-align: center;
}

.hero-copy h1 {
    margin: 1.2rem auto 1rem;
    font-size: clamp(2.4rem, 5vw, 4.3rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    text-align: center;
}

.hero-subtitle {
    max-width: 660px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.85;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-buttons {
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    border-radius: 14px;
    font-weight: 700;
    padding: 0.95rem 1.35rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0284c7 100%);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.34);
}

.btn-secondary {
    background: #ffffff;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #ffffff;
}

/* Bílé tlačítko pro hero sekci */
.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-points span {
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
}

.hero-logo,
.hero .hero-content img {
    width: 132px !important;
    height: 132px !important;
    max-width: 132px !important;
    max-height: 132px !important;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.98);
    padding: 10px;
}

.hero-panel-card {
    width: 100%;
    padding: 1.6rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 50px rgba(8, 15, 32, 0.34);
    text-align: left;
}

.panel-badge {
    display: inline-block;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #dbeafe;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.hero-panel-card h2 {
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

.panel-list li {
    position: relative;
    padding: 0.8rem 0 0.8rem 1.5rem;
    color: rgba(255, 255, 255, 0.84);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.panel-list li:first-child {
    border-top: none;
}

.panel-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.2rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38bdf8;
}

.features,
.pricing,
.contact,
.product-section,
.confirmation-section,
.content-page {
    position: relative;
}

.features,
.contact,
.content-page:not(.content-page--navod-pozadi) {
    background: transparent;
}

.pricing {
    background: transparent;
}

.feature-card,
.pricing-card,
.contact-item,
.order-form,
.info-card,
.order-info-card,
.payment-section,
.next-steps,
.demo-info,
.contact-help,
.content-section,
.contact-box,
.tutorial-item {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
}

.feature-card,
.pricing-card,
.contact-item,
.tutorial-item {
    height: 100%;
}

.feature-card {
    text-align: left;
    padding: 1.7rem;
}

.feature-card:hover,
.pricing-card:hover,
.tutorial-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.16));
    margin-bottom: 1.15rem;
}

.feature-card p,
.contact-item p,
.pricing-card li,
.info-card p,
.info-card li,
.content-section p,
.tutorial-item p,
.contact-box p {
    color: var(--muted);
}

.pricing-grid {
    max-width: 1180px;
}

.pricing-card {
    padding: 2rem;
}

.price-note,
.license-meta,
.summary-note {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.price-note {
    text-align: center;
    margin-top: -0.35rem;
    margin-bottom: 1rem;
}

.license-meta {
    margin: 0.35rem 0 0.85rem;
}

.summary-note {
    margin-top: 0.85rem;
}

.pricing-card.featured {
    border-width: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.96));
}

.pricing-comparison {
    max-width: 980px;
    margin: 2rem auto 0;
    padding: 1.5rem 1.75rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.pricing-comparison h3 {
    margin-bottom: 0.75rem;
    color: var(--text);
}

.pricing-comparison p {
    color: var(--muted);
    line-height: 1.8;
}

.price .amount,
.license-price,
.total-price {
    letter-spacing: -0.03em;
}

.contact-info {
    align-items: stretch;
}

.contact-item {
    padding: 1.8rem;
}

.product-header,
.page-header,
.confirmation-header {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.product-layout {
    align-items: start;
}

.order-form,
.info-card,
.form-summary {
    border-radius: 20px;
}

.order-form {
    padding: 2rem;
}

.form-group input,
.form-group select,
.filter-select {
    border-radius: 14px;
    border-color: rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.96);
}

.form-group input:focus,
.form-group select:focus {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.license-card,
.form-summary,
.order-details,
.payment-details {
    border-radius: 18px;
    box-shadow: none;
}

.license-card {
    border-color: rgba(148, 163, 184, 0.22);
}

.license-option input[type="radio"]:checked + .license-card {
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.96), rgba(219, 234, 254, 0.92));
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.14);
}

.content-page {
    padding-top: 2rem;
}

.content-section {
    padding: 2rem;
    margin-bottom: 2rem;
}

.content-section h2 {
    border-bottom: none;
    margin-bottom: 1rem;
    padding-bottom: 0;
    text-align: left;
}

.feature-detail {
    background: rgba(248, 250, 252, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-left: 4px solid var(--primary);
    border-radius: 20px;
}

.tech-specs,
.help-contact {
    margin-top: 1.5rem;
}

.spec-item {
    border-radius: 16px;
    border-left-width: 4px;
}

.cta-section {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(29, 78, 216, 0.92));
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
}

.cta-section h2,
.cta-section p {
    color: #ffffff;
}

.tutorial-item {
    text-align: left;
}

.coming-soon,
.test-pristup {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem 4rem;
}

.coming-soon .container,
.test-pristup form {
    width: 100%;
    max-width: 760px;
    text-align: center;
    padding: 2.2rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.coming-soon h1,
.test-pristup h2 {
    color: var(--text);
    margin: 1rem 0 0.8rem;
}

.coming-soon p,
.test-pristup p {
    color: var(--muted);
}

.test-pristup label {
    display: block;
    text-align: left;
    margin-bottom: 0.45rem;
    font-weight: 600;
    color: var(--text);
}

.test-pristup input[type="password"] {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    margin-bottom: 1rem;
}

.test-pristup .btn {
    width: 100%;
}

.test-pristup .back {
    margin-top: 1rem;
}

.test-pristup .back a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.footer {
    background: #0f172a;
    margin-top: 2rem;
}

@media (max-width: 900px) {
    .hero-grid,
    .product-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 6rem;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-points {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 10px;
        width: calc(100% - 16px);
        margin-top: 10px;
        border-radius: 18px;
    }

    .navbar .container {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
        align-items: center;
    }

    /* Hamburger viditelný na mobilu */
    .nav-toggle {
        display: flex;
        margin-left: auto;
    }

    /* Menu skryté ve výchozím stavu, zobrazí se po kliknutí */
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 0.5rem 0 0.25rem;
        border-top: 1px solid rgba(15, 23, 42, 0.08);
        margin-top: 0.5rem;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a {
        padding: 0.7rem 0.5rem;
        border-radius: 10px;
        width: 100%;
    }

    .hero-copy h1 {
        font-size: 2.2rem;
    }

    .hero-logo,
    .hero .hero-content img {
        width: 104px !important;
        height: 104px !important;
        max-width: 104px !important;
        max-height: 104px !important;
    }

    .product-header,
    .page-header,
    .confirmation-header,
    .content-section,
    .coming-soon .container,
    .test-pristup form {
        padding: 1.4rem;
    }

    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: stretch;
    }

    .cookie-banner-actions .btn {
        flex: 1;
        min-width: 0;
    }
}

/* Cookie souhlas */
body.cookie-banner-open {
    padding-bottom: 8rem;
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background: rgba(15, 23, 42, 0.92);
    color: #f8fafc;
    padding: 1rem 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem 1.5rem;
}

.cookie-banner-text {
    flex: 1 1 280px;
    min-width: 0;
}

.cookie-banner-heading {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #fff;
}

.cookie-banner-text p {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #e2e8f0;
}

.cookie-banner-note {
    font-size: 0.85rem !important;
    color: #cbd5e1 !important;
}

.cookie-banner-links {
    margin-top: 0.35rem !important;
    margin-bottom: 0 !important;
}

.cookie-banner-links a {
    color: #93c5fd;
    text-decoration: underline;
}

.cookie-banner-links a:hover {
    color: #bfdbfe;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
    flex: 0 1 auto;
}

.btn-sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.875rem;
}

.cookie-banner-settings {
    flex: 1 1 100%;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.cookie-setting-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #e2e8f0;
    cursor: pointer;
}

.cookie-banner-actions-settings {
    margin-top: 0.75rem;
    justify-content: flex-start;
}

.cookie-reopen-btn {
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 1999;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #475569;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.cookie-reopen-btn:hover {
    background: #f1f5f9;
}
