/* =========================================================================
   DIGITÁLNÍ INSTITUT - Stylesheet
   Design: Modern SaaS (Clean, Professional, Conversion-Focused)
   ========================================================================= */

:root {
    /* Brand Colors */
    --primary: #3BA9D8;
    --secondary: #2F7FC3;
    --accent: #7C3AED;
    --light-accent: #5BBCE5;
    --dark-accent: #1F5FAF;
    --cta-color: #5B21B6;
    
    /* Layout Colors */
    --bg-main: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-dark: #0F172A;
    
    /* Typography Colors */
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    
    /* UI Elements */
    --border: #E2E8F0;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
    
    /* Utils */
    --hover-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================================
   Base & Reset
   ========================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.skip-link,
.sr-only {
    position: absolute;
}

.skip-link {
    top: 16px;
    left: 16px;
    z-index: 2000;
    transform: translateY(-200%);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-dark);
    color: #ffffff;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.skip-link:focus {
    transform: translateY(0);
}

.sr-only {
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

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

ul {
    list-style: none;
}

/* =========================================================================
   Typography
   ========================================================================= */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 24px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* =========================================================================
   Layout & Container
   ========================================================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 120px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-header p {
    font-size: 1.25rem;
}

/* =========================================================================
   Components
   ========================================================================= */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--hover-transition);
    border: none;
    text-align: center;
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.95rem;
}

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

.btn-primary:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 169, 216, 0.3);
}

.btn-cta {
    background: linear-gradient(135deg, var(--cta-color) 0%, var(--accent) 100%);
    color: white;
    box-shadow: 0 8px 16px -4px rgba(124, 58, 237, 0.4);
}

.btn-cta:hover {
    box-shadow: 0 12px 24px -4px rgba(124, 58, 237, 0.6);
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.w-full {
    width: 100%;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(59, 169, 216, 0.1);
    color: var(--secondary);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(59, 169, 216, 0.2);
}

/* Utils */
.color-accent { color: var(--accent); }
.color-primary { color: var(--primary); }
.color-dark { color: var(--dark-accent); }

/* =========================================================================
   Header & Nav
   ========================================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--hover-transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--hover-transition);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.05em;
}

.header-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .header-logo {
        height: 48px;
    }
    .logo-text {
        font-size: 1.35rem;
    }
}

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
    color: var(--primary);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* Mobile Nav Structure */
.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 24px;
    background: white;
    border-bottom: 1px solid var(--border);
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    box-shadow: var(--shadow-md);
}

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

.mobile-nav a {
    padding: 16px 0;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--bg-light);
    color: var(--text-primary);
}

.mobile-nav a.btn {
    margin-top: 16px;
    border: none;
    color: white;
}

/* =========================================================================
   Hero Section
   ========================================================================= */
.hero {
    position: relative;
    padding-top: 200px;
    padding-bottom: 120px;
}

.hero-bg-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, rgba(59,169,216,0.08) 40%, rgba(255,255,255,0) 70%);
    z-index: -1;
    filter: blur(80px);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Hero Section Image */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl, 0 25px 50px -12px rgba(15, 23, 42, 0.25));
    transition: var(--hover-transition);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    border: 1px solid rgba(226, 232, 240, 0.5);
    z-index: 2;
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0) translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.3);
}

.hero-photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius-lg) - 1px);
    transition: transform 0.8s ease;
}

.hero-image-wrapper:hover .hero-photo {
    transform: scale(1.03);
}

/* =========================================================================
   Logos Section
   ========================================================================= */
.logos-section {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-light);
    text-align: center;
}

.logos-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 8vw;
    flex-wrap: wrap;
    align-items: center;
}

.logo-item {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.88;
    transition: var(--hover-transition);
    filter: grayscale(100%);
}

.logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    color: var(--text-primary);
}

.logo-item i {
    font-size: 2rem;
}

/* =========================================================================
   Services Grid
   ========================================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    background: white;
    border: 1px solid var(--border);
    padding: 48px;
    border-radius: var(--radius-lg);
    transition: var(--hover-transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 169, 216, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    opacity: 0;
    transition: var(--hover-transition);
    z-index: -1;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(59, 169, 216, 0.3);
    transform: translateY(-8px);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(59, 169, 216, 0.1);
    color: var(--secondary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
    transition: var(--hover-transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 8px 16px rgba(59, 169, 216, 0.3);
}

/* =========================================================================
   Benefits / Features Section
   ========================================================================= */
.benefits-flex {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.benefits-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.benefits-list li {
    display: flex;
    gap: 20px;
}

.benefit-icon {
    color: var(--accent);
    font-size: 1.75rem;
    margin-top: 2px;
}

.benefits-list li strong {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: block;
}

.benefits-list li p {
    margin-bottom: 0;
}

/* Floating UI Mockups Feature */
.benefits-visual {
    position: relative;
    height: 450px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-mockup {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: absolute;
    transition: var(--hover-transition);
}

.main-card {
    width: 100%;
    max-width: 420px;
    padding: 32px;
    z-index: 1;
}

.main-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 35px -5px rgba(15, 23, 42, 0.12);
}

.mockup-header-mini {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}

.dot-group {
    display: flex;
    gap: 6px;
}

.workflow-nodes {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.node {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
    z-index: 2;
}

.node.ai-node {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
    transform: scale(1.15);
}

.connector {
    flex: 1;
    height: 4px;
    background: var(--border);
    z-index: 1;
    margin: 0 -10px;
    position: relative;
    overflow: hidden;
}

.connector-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: dataFlow 2s infinite linear;
}

@keyframes dataFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.overlap-card-1 {
    bottom: 20px;
    right: -20px;
    animation-delay: 0s;
}

.overlap-card-2 {
    top: 30px;
    left: -10px;
    animation-delay: -3s;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.text-accent {
    color: var(--accent);
}

.stat-card > div {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.stat-title {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* =========================================================================
   About Lektor
   ========================================================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-lead {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 24px;
}

.about-content p {
    text-align: justify;
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.about-image {
    position: relative;
}

.photo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59,169,216,0.3) 0%, rgba(124,58,237,0.15) 50%, rgba(255,255,255,0) 70%);
    filter: blur(60px);
    z-index: -1;
}

.about-photo {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    border: 1px solid rgba(226, 232, 240, 0.5);
    position: relative;
    z-index: 1;
}

/* =========================================================================
   Process
   ========================================================================= */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 80px;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    transition: var(--hover-transition);
    border: 1px solid transparent;
}

.step:not(.line):hover {
    background: var(--bg-main);
    border-color: var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.step-num {
    width: 80px;
    height: 80px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 auto 32px;
    box-shadow: 0 0 0 12px rgba(59, 169, 216, 0.1);
    border: 2px solid var(--primary);
    transition: var(--hover-transition);
}

.step:not(.line):hover .step-num {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(124, 58, 237, 0.3);
    transform: scale(1.1);
}

.step.line {
    flex: 0 0 100px;
    height: 4px;
    background: rgba(59, 169, 216, 0.2);
    margin-top: 78px;
    padding: 0;
    border-radius: 2px;
    border: none;
}

/* =========================================================================
   Testimonials
   ========================================================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.testimonial-card {
    background: white;
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -24px;
    left: 48px;
    width: 56px;
    height: 56px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 8px 16px rgba(124, 58, 237, 0.3);
}

.testimonial-card p {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 32px;
    line-height: 1.8;
}

.author strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.author span {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* =========================================================================
   CTA Section
   ========================================================================= */
.cta-section {
    padding: 120px 0;
}

.cta-container {
    background: linear-gradient(135deg, var(--dark-accent) 0%, var(--cta-color) 100%);
    border-radius: var(--radius-lg);
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    color: white;
    box-shadow: var(--shadow-lg);
}

.cta-content {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 24px;
}

.cta-content p {
    color: #f8fafc;
    font-size: 1.25rem;
}

.contact-form {
    margin-top: 40px;
    text-align: left;
}

.form-status {
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-top: 40px;
    text-align: center;
    font-weight: 600;
}

.form-status-success {
    background: #dcfce7;
    border: 1px solid #15803d;
    color: #14532d;
}

.form-status-error {
    background: #fee2e2;
    border: 1px solid #b91c1c;
    color: #7f1d1d;
}

.noscript-notice {
    background: #fff7ed;
    border: 1px solid #c2410c;
    padding: 16px;
    border-radius: var(--radius-sm);
    color: #7c2d12;
    margin-bottom: 24px;
    text-align: center;
    font-size: 0.9rem;
}

.noscript-notice a {
    color: #7c2d12;
    font-weight: 700;
    text-decoration: underline;
}

.cta-form-wrapper {
    background: white;
    padding: 80px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 1rem;
}

.form-group input:not([type="checkbox"]),
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 16px;
    transition: var(--hover-transition);
    background-color: #ffffff;
    color: #0f172a;
}

.form-group textarea {
    resize: vertical;
}

.field-error {
    color: #fff1f2;
    font-size: 0.9rem;
    display: block;
    margin-top: 4px;
}

.form-group input[type="checkbox"] {
    width: auto;
    padding: 0;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.checkbox-group label {
    display: inline;
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 400;
    color: inherit;
    font-size: inherit;
}

.gdpr-copy {
    font-size: 0.85rem;
    color: #ffffff;
    line-height: 1.4;
}

.gdpr-copy a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 169, 216, 0.15);
}

.lead-form button {
    margin-top: 16px;
}

/* =========================================================================
   Footer
   ========================================================================= */
.footer {
    background: var(--bg-dark);
    color: #F8FAFC;
    padding: 100px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 24px;
}

.footer-col p {
    color: var(--text-muted);
}

.footer-col h4 {
    color: white;
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}

.footer-col a {
    color: var(--text-muted);
}

.footer-col a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: var(--hover-transition);
    font-size: 1.25rem;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Dark Mode Theme */
[data-theme="dark"] {
    --bg-main: #0F172A;
    --bg-light: #1E293B;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --border: #334155;
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.5), 0 4px 6px -2px rgba(0,0,0,0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.6), 0 10px 10px -5px rgba(0,0,0,0.4);
}

[data-theme="dark"] .mockup-window,
[data-theme="dark"] .mockup-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .data-chart-mockup,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .cta-form-wrapper,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .cta-calculator-wrapper,
[data-theme="dark"] .floating-mockup {
    background: #1E293B;
    border-color: #334155;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

[data-theme="dark"] .mockup-header-mini {
    border-color: #334155;
}

[data-theme="dark"] .node {
    background: #0F172A;
    border-color: #334155;
}

[data-theme="dark"] .header {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(51, 65, 85, 0.6);
}

[data-theme="dark"] .header.scrolled {
    background: rgba(15, 23, 42, 0.95);
}

[data-theme="dark"] .mobile-nav {
    background: #0F172A;
}

[data-theme="dark"] .mobile-nav a {
    border-color: #334155;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
    z-index: 999;
}

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

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Theme Toggle Button */
.theme-toggle {
    background: rgba(59, 169, 216, 0.1);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--hover-transition);
}

.theme-toggle:hover {
    background: var(--primary);
    color: white;
}

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

/* FAQ Section */
.faq-section {
    background: var(--bg-main);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-main);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 24px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    font-family: inherit;
    transition: var(--hover-transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 1.5rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 24px 24px;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ROI Calculator */
.cta-calculator-wrapper {
    background: white;
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

[data-theme="dark"] .cta-calculator-wrapper {
    background: #1E293B;
}

.calculator-header {
    margin-bottom: 32px;
}

.calculator-header h3 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.calc-group {
    margin-bottom: 28px;
}

.calc-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.calc-group input[type=range] {
    width: 100%;
    cursor: pointer;
    height: 6px;
}

.calc-result {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-align: center;
    margin-top: 40px;
}

.result-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.result-label {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.result-money {
    font-size: 1rem;
    color: var(--text-secondary);
}

.fw-b { font-weight: 800; }
.mt-24 { margin-top: 24px; }

/* Pricing Section */
/* Pricing Slider Wrapper */
.pricing-slider-wrapper {
    position: relative;
    width: 100%;
    margin-top: 40px;
    display: flex;
    align-items: center;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 1px solid var(--border);
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-md);
    transition: var(--hover-transition);
}

.slider-arrow:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.slider-arrow.left { left: -24px; }
.slider-arrow.right { right: -24px; }
@media (max-width: 768px) {
    .slider-arrow { display: none; /* Skryje šipky na mobilu, kde uživatel swajpuje přirozeněji */ }
}

.pricing-grid.slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 20px;
    margin: -20px;
    -ms-overflow-style: none; 
    scrollbar-width: none; 
}
.pricing-grid.slider::-webkit-scrollbar {
    display: none;
}

.pricing-card {
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    transition: var(--hover-transition);
    flex: 0 0 calc(33.333% - 20px);
    min-width: 320px;
    scroll-snap-align: center;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    transform: scale(1.02);
}

.pricing-card.popular:hover {
    transform: scale(1.02) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.pricing-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    min-height: 70px;
}

.pricing-price {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.pricing-price .currency, .pricing-price .text-prefix {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-right: 4px;
}

.pricing-price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

[data-theme="dark"] .pricing-card.popular .pricing-price .amount {
    color: var(--primary);
}

.pricing-price .period {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-left: 4px;
}

.pricing-features {
    list-style: none;
    margin: 0 0 40px 0;
    padding: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.pricing-features li i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.pricing-features li.disabled {
    color: var(--text-muted);
}

.pricing-features li.disabled i {
    color: var(--text-muted);
}

/* =========================================================================
   Responsive Design
   ========================================================================= */
@media (max-width: 1024px) {
    .hero-container, .benefits-flex, .about-container, .cta-container, .pricing-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero { padding-top: 160px; }
    
    .benefits-image { grid-row: 2; }
    .about-image { grid-row: 1; }
    
    .process-steps {
        flex-direction: column;
        gap: 60px;
        align-items: center;
    }
    
    .step.line { display: none; }
    
    .pricing-card.popular {
        transform: scale(1);
        padding: 40px 32px;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .cta-calculator-wrapper { order: 1; }
    .cta-content { padding: 60px 40px; text-align: center; }
    .cta-content { order: 2; }
    .cta-form-wrapper { padding: 50px 40px; }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    section { padding: 80px 0; }
    
    .nav, .header-actions .btn { display: none; }
    .header-actions { margin-left: auto; margin-right: 16px; }
    .mobile-menu-btn { display: block; }
    
    .services-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .photo-placeholder { height: 400px; }
    .chart-content { height: 300px; }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn { width: 100%; }
    
    .cta-content, .cta-form-wrapper { padding: 40px 20px; }
}

.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
