/* 
 * NIO ARIES - Hlavní stylesheet
 * Premium profesionální design pro SaaS účetní systém
 */

/* Reset a základní styly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Premium barevná paleta - Luxusní tmavě modrá/tyrkysová */
    --primary-color: #00d4ff;
    --primary-dark: #00a8cc;
    --primary-light: #5ce1e6;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-color: #00d4ff;
    --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    
    /* Sekundární barvy */
    --secondary-color: #64748b;
    --success-color: #00d4aa;
    --success-light: #34d399;
    --warning-color: #fbbf24;
    --danger-color: #f43f5e;
    
    /* Prémiové tmavé pozadí pro hero */
    --dark-bg: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #0d1b2a 50%, #1b263b 75%, #0a0a0a 100%);
    --dark-bg-alt: linear-gradient(180deg, #0d1117 0%, #161b22 50%, #0d1117 100%);
    
    /* Neutrální barvy */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Rozměry */
    --max-width: 1280px;
    --header-height: 80px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.7;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Kontejner */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header / Navigace - Premium design */
.header {
    background: var(--white);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 1.75rem;
    background: linear-gradient(135deg, #00d4ff 0%, #00ff88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text {
    font-weight: 800;
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-accent {
    color: var(--gray-500);
    font-weight: 400;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--gray-600);
    border-radius: 2px;
    transition: 0.3s;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--gray-600);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: #00d4ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

.header-scrolled {
    box-shadow: var(--shadow-lg);
    background: rgba(255,255,255,0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* Tlačítka - Premium design */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    color: #000;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
    color: #000;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    border: 2px solid #00d4ff;
    color: #00d4ff;
}

.btn-outline:hover {
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    border-color: transparent;
    color: #000;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
    border-radius: 14px;
}

.btn-accent {
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    color: #000;
    font-weight: 700;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4), 0 4px 15px rgba(0, 212, 255, 0.3);
    border: none;
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.6), 0 8px 25px rgba(0, 212, 255, 0.4);
    color: #000;
}

/* Hlavní obsah */
.main {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
    padding: 40px 0;
}

/* Hero sekce - Geniální profesionální design */
.hero {
    text-align: center;
    padding: 140px 0 120px;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.03) 0%, transparent 25%),
        radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 25%);
    pointer-events: none;
    animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-home {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
}

/* Hero badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #00d4ff;
    margin-bottom: 40px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.hero-badge .badge-icon {
    font-size: 1.1rem;
}

/* Hero BG Animation */
.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    animation: heroGradient 20s ease infinite;
    pointer-events: none;
}

@keyframes heroGradient {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero h1,
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 28px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-shadow: 0 0 80px rgba(0, 212, 255, 0.3);
}

.hero-title span {
    background: linear-gradient(135deg, #00d4ff 0%, #00ff88 50%, #00d4ff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero p,
.hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255,255,255,0.6);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.9;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 100px;
    padding-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Karty */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 25px;
    margin-bottom: 20px;
}

.card-header {
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
}

/* Grid systém */
.grid {
    display: grid;
    gap: 20px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Formuláře */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gray-700);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Tabulky */
.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table th,
.table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.table th {
    background: var(--gray-100);
    font-weight: 600;
    color: var(--gray-700);
}

.table tr:hover {
    background: var(--gray-50);
}

/* Footer - Premium design */
.footer {
    background: var(--dark-bg);
    color: var(--gray-400);
    padding: 80px 0 40px;
    margin-top: 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand {
    padding-right: 50px;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 20px;
    display: inline-flex;
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-logo .logo-icon {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo .logo-accent {
    color: var(--gray-400);
}

.footer-desc {
    color: var(--gray-400);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.footer-links a {
    display: block;
    color: var(--gray-400);
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray-500);
    gap: 20px;
}

.footer-bottom > p {
    margin: 0;
}

/* ========================================
   POČÍTADLO NÁVŠTĚV - Premium Design
   ======================================== */
.visitor-counter {
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 16px;
    padding: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 212, 255, 0.15);
}

.counter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    min-width: 110px;
}

.counter-icon {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.counter-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.counter-value {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4ff 0%, #00ff88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Inter', monospace;
    line-height: 1;
}

.counter-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-top: 2px;
}

.counter-divider {
    width: 1px;
    background: linear-gradient(180deg, transparent 10%, rgba(0, 212, 255, 0.4) 50%, transparent 90%);
    align-self: stretch;
}

/* Pulzující tečka pro Online */
.pulse-dot {
    width: 10px;
    height: 10px;
    background: #00ff88;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px #00ff88, 0 0 20px rgba(0, 255, 136, 0.5);
}

.pulse-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

/* Hover efekty */
.counter-item {
    transition: all 0.3s ease;
}

.counter-item:hover .counter-value {
    transform: scale(1.1);
}

.counter-online:hover .pulse-dot {
    animation-duration: 0.5s;
}

/* Flash zprávy container */
.flash-container {
    padding-top: 20px;
}

/* Responzivita */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav.nav-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--gray-100);
        width: 100%;
    }
    
    .nav-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-buttons .btn {
        width: 100%;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        gap: 15px;
    }
    
    /* Počítadlo - mobilní verze */
    .visitor-counter {
        border-radius: 12px;
        gap: 0;
        width: auto;
        justify-content: center;
    }
    
    .counter-item {
        padding: 10px 14px;
        min-width: auto;
        gap: 8px;
    }
    
    .counter-content {
        align-items: flex-start;
    }
    
    .counter-value {
        font-size: 1.2rem;
    }
    
    .counter-label {
        font-size: 0.55rem;
    }
    
    .counter-icon {
        width: 20px;
        height: 20px;
        font-size: 0.9rem;
    }
    
    .counter-divider {
        width: 1px;
        height: 40px;
    }
}

/* Dashboard sidebar */
.dashboard-layout {
    display: flex;
    min-height: calc(100vh - var(--header-height));
}

.sidebar {
    width: 250px;
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    padding: 20px 0;
}

.sidebar-nav a {
    display: block;
    padding: 12px 25px;
    color: var(--gray-600);
    font-weight: 500;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: var(--gray-50);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.dashboard-content {
    flex: 1;
    padding: 30px;
    background: var(--gray-50);
}

/* Utility classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

/* =====================================================
   MARKETING HOMEPAGE STYLY
   ===================================================== */

/* Hero sekce - Homepage */
.hero-home {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
}

.hero-home .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-title span {
    font-weight: 400;
    opacity: 0.9;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    opacity: 0.8;
    margin-top: 5px;
}

/* Sekce obecně - Premium design */
.section {
    padding: 100px 0;
}

.section-light {
    background: var(--dark-bg);
    color: var(--white);
}

.section-primary {
    background: var(--primary-gradient);
    color: var(--white);
}

.section-dark {
    background: var(--dark-bg);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-light .section-title,
.section-header-light .section-subtitle {
    color: var(--white);
}

.section-header-light .section-subtitle {
    opacity: 0.9;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Styly pro sekce s tmavým pozadím */
.section-light .section-title,
.section-dark .section-title {
    color: var(--white);
}

.section-light .section-subtitle,
.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

/* Target cards - Pro koho - Premium design */
.target-cards {
    gap: 30px;
}

.target-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.target-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.target-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.target-card:hover::before {
    transform: scaleX(1);
}

.target-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    display: inline-block;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    width: 90px;
    height: 90px;
    line-height: 90px;
    border-radius: 50%;
}

.target-card h3 {
    font-size: 1.4rem;
    color: var(--gray-800);
    margin-bottom: 16px;
    font-weight: 700;
}

.target-card p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 24px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Feature grid - Premium */
.feature-grid {
    gap: 30px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* =========================================
   Image Styles
   ========================================= */

/* Hero obrázek - velký banner */
.hero-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.hero-image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.hero-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    pointer-events: none;
}

/* Ilustrace sekcí - větší tematické obrázky */
.section-illustration {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.section-illustration-left {
    float: left;
    max-width: 45%;
    margin: 0 2rem 1rem 0;
}

.section-illustration-right {
    float: right;
    max-width: 45%;
    margin: 0 0 1rem 2rem;
}

/* Feature ikonky - malé obrázky u funkcí */
.feature-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.feature-img-large {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

/* Page hero - obrázek na vrchu stránky */
.page-hero-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

/* Card thumbnail - malý obrázek v kartě */
.card-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

/* Image placeholder - když obrázek neexistuje */
.img-placeholder {
    background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-300) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 3rem;
}

.img-placeholder-text {
    font-size: 0.9rem;
    color: var(--gray-500);
    text-align: center;
    padding: 1rem;
}

/* Clearfix pro floated images */
.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* Responsive images */
@media (max-width: 768px) {
    .section-illustration-left,
    .section-illustration-right {
        float: none;
        max-width: 100%;
        margin: 1rem 0;
    }
    
    .hero-image {
        max-height: 250px;
    }
    
    .page-hero-image {
        height: 180px;
    }
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Benefits grid */
.benefits-grid {
    gap: 40px;
}

.benefit-item {
    text-align: center;
}

.benefit-icon {
    display: inline-block;
    font-size: 2rem;
    margin-bottom: 15px;
}

.benefit-item h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.benefit-item p {
    opacity: 0.85;
    line-height: 1.6;
}

/* Steps - Jak to funguje */
.steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 280px;
    position: relative;
}

.step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -30px;
    top: 40px;
    font-size: 2rem;
    color: var(--gray-300);
}

.step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.step-content h3 {
    font-size: 1.25rem;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.step-content p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* CTA sekce */
.section-cta {
    background: var(--gray-900);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.85;
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: var(--white);
    color: var(--gray-900);
}

.btn-white:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--gray-900);
}

/* Responzivita pro marketing sekce */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .steps {
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .hero-home {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}

/* =====================================================
   PRO KOHO STRÁNKY
   ===================================================== */

/* Page Hero - menší hero pro podstránky */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.page-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
}

/* Audience grid - Pro koho rozcestník */
.audience-grid {
    gap: 30px;
}

.audience-card {
    display: flex;
    gap: 25px;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 35px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.audience-card:hover {
    transform: translateY(-3px);
}

.audience-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.audience-content h2 {
    font-size: 1.4rem;
    color: var(--gray-800);
    margin-bottom: 12px;
}

.audience-content p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 15px;
}

.audience-features {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
}

.audience-features li {
    color: var(--gray-700);
    padding: 5px 0;
    font-size: 0.95rem;
}

/* Scenario box */
.scenario-box {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.scenario-box h2 {
    font-size: 1.5rem;
    color: var(--gray-800);
    margin-bottom: 25px;
}

.scenario-content p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 15px;
}

.scenario-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.scenario-content ol li {
    color: var(--gray-700);
    margin-bottom: 12px;
    line-height: 1.6;
}

/* Comparison table */
.comparison-table {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.comparison-header {
    background: var(--gray-100);
    font-weight: 600;
}

.comparison-col {
    padding: 18px 25px;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-bad {
    background: #fef2f2;
    color: var(--danger-color);
}

.comparison-good {
    background: #f0fdf4;
    color: var(--success-color);
}

/* Benefit list */
.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-list-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.benefit-check {
    width: 30px;
    height: 30px;
    background: var(--success-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.benefit-list-item h4 {
    font-size: 1.05rem;
    color: var(--gray-800);
    margin-bottom: 5px;
}

.benefit-list-item p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Responzivita pro Pro koho stránky */
@media (max-width: 992px) {
    .audience-card {
        flex-direction: column;
        text-align: center;
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
    }
    
    .comparison-col:first-child {
        background: var(--gray-100);
        font-weight: 600;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0 40px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
    }
    
    .scenario-box {
        padding: 25px;
    }
}

/* =====================================================
   TARIFY STRÁNKA
   ===================================================== */

.tariff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.tariff-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 35px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tariff-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tariff-recommended {
    border: 2px solid var(--primary-color);
    transform: scale(1.02);
}

.tariff-recommended:hover {
    transform: scale(1.02) translateY(-5px);
}

.tariff-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tariff-header {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 25px;
}

.tariff-name {
    font-size: 1.5rem;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.tariff-desc {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.tariff-price {
    margin-top: 20px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-period {
    color: var(--gray-500);
    font-size: 1rem;
}

.tariff-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.tariff-features li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--gray-100);
}

.tariff-features li:last-child {
    border-bottom: none;
}

.feature-included::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

.feature-disabled {
    color: var(--gray-400);
}

.feature-disabled::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--gray-400);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.faq-item h4 {
    font-size: 1.1rem;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Badge pro připravujeme */
.badge-soon {
    display: inline-block;
    background: var(--gray-200);
    color: var(--gray-600);
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.85rem;
}

/* Feature card s odkazem */
.feature-card-link {
    display: flex;
    flex-direction: column;
}

.feature-card-link .btn {
    margin-top: auto;
}

/* Responzivita pro tarify */
@media (max-width: 992px) {
    .tariff-recommended {
        transform: none;
    }
    
    .tariff-recommended:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .tariff-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Objednávkový formulář a poděkování
   ========================================= */

.order-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.order-form-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.order-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

.tariff-recap {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 2rem;
}

.tariff-recap h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.recap-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.recap-item:last-child {
    border-bottom: none;
}

.recap-item .label {
    color: var(--gray-600);
}

.recap-item .value {
    font-weight: 600;
    color: var(--gray-800);
}

.recap-total {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--gray-300);
}

.recap-total .price-total {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.recap-total .price-period {
    font-size: 1rem;
    color: var(--gray-500);
    font-weight: 400;
}

/* Period selector */
.period-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.period-option {
    position: relative;
}

.period-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.period-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.period-option input:checked + label {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.1) 100%);
}

.period-option label .period-name {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.period-option label .period-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period-option label .period-save {
    font-size: 0.85rem;
    color: var(--success-color);
    font-weight: 600;
}

/* Tariff selector dropdown */
.tariff-select {
    display: block;
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.tariff-select:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Thank you page */
.thanks-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    margin: 0 auto 2rem;
    animation: scaleIn 0.5s ease;
}

.thanks-icon-warning {
    background: linear-gradient(135deg, var(--warning-color) 0%, #d97706 100%);
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.thanks-container h1 {
    font-size: 2rem;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.thanks-text {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.thanks-info {
    background: var(--gray-50);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.thanks-info h3 {
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.thanks-info ol {
    padding-left: 1.5rem;
}

.thanks-info li {
    padding: 0.5rem 0;
    color: var(--gray-700);
}

.thanks-note {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.1) 100%);
    border: 1px solid var(--primary-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.thanks-note p {
    margin: 0;
    color: var(--gray-700);
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Email notice po objednávce */
.thanks-email-notice {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    border: 2px solid #0ea5e9;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.thanks-email-notice .email-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.thanks-email-notice p {
    margin: 0.5rem 0;
    color: var(--gray-700);
}

.thanks-email-notice .small {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* Password row v objednávkovém formuláři */
.password-row {
    background: var(--gray-50);
    margin: 1.5rem -2rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.form-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Responzivita pro objednávku */
@media (max-width: 992px) {
    .order-container {
        grid-template-columns: 1fr;
    }
    
    .order-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 576px) {
    .period-selector {
        grid-template-columns: 1fr;
    }
    
    .thanks-actions {
        flex-direction: column;
    }
    
    .thanks-actions .btn {
        width: 100%;
    }
}

/* =========================================
   Admin - Objednávky
   ========================================= */

.order-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.detail-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.detail-card h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-200);
    color: var(--gray-800);
}

.detail-table {
    width: 100%;
}

.detail-table th,
.detail-table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.detail-table th {
    font-weight: 500;
    color: var(--gray-600);
    width: 40%;
    text-align: left;
}

.detail-table td {
    color: var(--gray-800);
}

.note-block {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.note-block:last-child {
    margin-bottom: 0;
}

.note-customer {
    background: var(--gray-50);
    border-left: 4px solid var(--gray-400);
}

.note-admin {
    background: rgba(37, 99, 235, 0.05);
    border-left: 4px solid var(--primary-color);
}

.note-block p {
    margin: 0.5rem 0 0;
}

.detail-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.modal-content h3 {
    margin-bottom: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
}

.stat-new .stat-icon { background: rgba(245, 158, 11, 0.1); }
.stat-processing .stat-icon { background: rgba(37, 99, 235, 0.1); }
.stat-completed .stat-icon { background: rgba(16, 185, 129, 0.1); }
.stat-revenue .stat-icon { background: rgba(139, 92, 246, 0.1); }

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
}

.stat-label {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Filters bar */
.filters-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: var(--white);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Page header improvements */
.page-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Badge outline */
.badge-outline {
    background: transparent;
    border: 1px solid var(--gray-300);
    color: var(--gray-600);
}

/* Text utilities */
.text-muted {
    color: var(--gray-500);
}

.text-primary {
    color: var(--primary-color);
}

/* Responzivita admin orders */
@media (max-width: 768px) {
    .order-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-actions {
        flex-direction: column;
    }
    
    .page-header-left {
        flex-wrap: wrap;
    }
}

/* =========================================
   Admin Layout
   ========================================= */

.admin-body {
    background: var(--gray-100);
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
    width: 260px;
    background: var(--gray-800);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-700);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
}

.sidebar-logo:hover {
    color: var(--white);
}

.logo-icon {
    font-size: 1.5rem;
}

.sidebar-nav {
    padding: 1rem 0;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: var(--gray-400);
    transition: all 0.2s ease;
}

.sidebar-nav li a:hover {
    background: var(--gray-700);
    color: var(--white);
}

.sidebar-nav li a.active {
    background: var(--primary-color);
    color: var(--white);
}

.nav-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.nav-badge {
    margin-left: auto;
    background: var(--danger-color);
    color: var(--white);
    padding: 0.125rem 0.5rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.sidebar-divider {
    height: 1px;
    background: var(--gray-700);
    margin: 1rem 1.5rem;
}

.nav-logout:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    color: var(--danger-color) !important;
}

/* Main content area */
.admin-main {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
}

.admin-header {
    background: var(--white);
    padding: 1rem 2rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-name {
    color: var(--gray-600);
}

.admin-content {
    padding: 2rem;
    flex: 1;
}

/* Admin page styling */
.admin-page .page-header {
    margin-bottom: 2rem;
}

.admin-page .page-header h1 {
    font-size: 1.75rem;
    color: var(--gray-800);
    margin: 0;
}

/* Data table */
.data-table-container {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.data-table th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-table tr:hover {
    background: var(--gray-50);
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--gray-500);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.pagination-link {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
}

.pagination-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-link.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Responsive admin */
@media (max-width: 992px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    
    .admin-layout.sidebar-collapsed .admin-sidebar {
        transform: translateX(0);
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .sidebar-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .admin-content {
        padding: 1rem;
    }
    
    .data-table {
        font-size: 0.9rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   Jak to funguje - Timeline
   ========================================= */

.steps-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 25px;
    top: 70px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--gray-200));
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 1;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.step-content p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.step-tip {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.1) 100%);
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.step-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-list li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-600);
}

.step-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
}

.step-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: var(--gray-100);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.step-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.benefit-icon {
    font-size: 1.5rem;
}

/* Video placeholder */
.video-placeholder {
    background: var(--gray-200);
    border-radius: var(--border-radius);
    aspect-ratio: 16/9;
    max-width: 800px;
    margin: 2rem auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder-content {
    text-align: center;
    color: var(--gray-500);
}

.play-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

/* =========================================
   Podpora stránka - MODERN REDESIGN
   ========================================= */

/* Support Hero */
.support-hero {
    background: var(--dark-bg);
    padding: 80px 0 60px;
    text-align: center;
}

.support-hero .hero-badge {
    display: inline-block;
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.support-hero h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.support-hero .hero-subtitle {
    color: var(--gray-400);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Support Search */
.support-search {
    max-width: 600px;
    margin: 0 auto;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.search-wrapper .search-icon {
    padding: 0 15px;
    font-size: 1.2rem;
}

.search-wrapper .search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 10px;
}

.search-wrapper .search-btn {
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-wrapper .search-btn:hover {
    transform: scale(1.05);
}

.search-hints {
    margin-top: 15px;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.search-hints a {
    color: var(--primary-color);
    margin-left: 10px;
    text-decoration: none;
}

.search-hints a:hover {
    text-decoration: underline;
}

/* Support Stats */
.support-stats {
    background: var(--gray-900);
    padding: 30px 0;
    border-bottom: 1px solid var(--gray-800);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 15px;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* Support Options - 3 columns */
.support-options {
    margin-top: 40px;
}

.support-option-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.support-option-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.support-option-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.02);
}

.support-option-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.option-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.option-icon-wrapper.gradient-blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.option-icon-wrapper.gradient-green {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.option-icon-wrapper.gradient-purple {
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
}

.option-icon {
    font-size: 2.5rem;
}

.support-option-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--gray-800);
}

.support-option-card > p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.6;
}

.option-features {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
    padding: 0;
}

.option-features li {
    padding: 8px 0;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.option-features li:last-child {
    border-bottom: none;
}

/* Quick Contact Banner */
.quick-contact-banner {
    background: var(--primary-gradient);
    padding: 40px 0;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.banner-text h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.banner-text p {
    color: rgba(255, 255, 255, 0.8);
}

.banner-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-white {
    background: var(--white);
    color: var(--gray-800);
}

.btn-white:hover {
    background: var(--gray-100);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--gray-800);
}

.banner-divider {
    color: rgba(255, 255, 255, 0.6);
}

/* Section Badge */
.section-badge {
    display: inline-block;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Doc Cards Modern */
.docs-cards {
    margin-top: 40px;
}

.doc-card-modern {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--gray-200);
}

.doc-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.doc-card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.doc-card-content {
    flex: 1;
}

.doc-card-content h4 {
    color: var(--gray-800);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.doc-card-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.doc-card-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.doc-card-meta {
    display: flex;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-200);
    margin-top: 15px;
}

.doc-card-meta span {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* FAQ Tabs */
.faq-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.faq-tab {
    background: var(--gray-100);
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--gray-700);
}

.faq-tab:hover {
    background: var(--gray-200);
}

.faq-tab.active {
    background: var(--primary-gradient);
    color: var(--white);
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-panel {
    display: none;
}

.faq-panel.active {
    display: block;
}

/* FAQ Items Modern */
.faq-item-modern {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question-modern {
    display: flex;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question-modern:hover {
    background: var(--gray-50);
}

.faq-q-icon {
    width: 30px;
    height: 30px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.faq-q-text {
    flex: 1;
    font-weight: 600;
    color: var(--gray-800);
}

.faq-toggle-icon {
    color: var(--gray-400);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.faq-item-modern.open .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-answer-modern {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item-modern.open .faq-answer-modern {
    max-height: 500px;
}

.faq-answer-modern p {
    padding: 0 20px 20px 65px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Premium Support Section */
.premium-support-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
}

.premium-support-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-light);
}

.premium-badge-large {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.premium-content h2 {
    color: var(--gray-800);
    margin-bottom: 15px;
}

.premium-content > p {
    color: var(--gray-600);
    margin-bottom: 20px;
    max-width: 500px;
}

.premium-features {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.premium-features li {
    color: var(--gray-700);
    font-weight: 500;
}

.premium-action {
    text-align: center;
}

.premium-note {
    margin-top: 15px;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.premium-note a {
    color: var(--primary-color);
}

/* CTA Section enhancements */
.cta-section .cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Legacy support styles (keep for compatibility) */
.support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.support-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
}

.support-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.support-card h3 {
    margin-bottom: 0.75rem;
    color: var(--gray-800);
}

.support-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.support-card-premium {
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    border: 2px dashed var(--gray-300);
}

.premium-badge {
    display: inline-block;
    background: var(--warning-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Docs grid */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.doc-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    color: var(--gray-800);
}

.doc-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
}

.doc-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.doc-card h4 {
    margin-bottom: 0.5rem;
}

.doc-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin: 0;
}

/* FAQ categories */
.faq-categories {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 2rem;
}

.faq-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
}

/* =========================================
   Kontakt stránka
   ========================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
}

.contact-form-container h2,
.contact-info-container h2 {
    margin-bottom: 2rem;
    color: var(--gray-800);
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.contact-details a {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.contact-note {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin: 0.25rem 0 0;
}

.contact-social {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.contact-social h4 {
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Map placeholder */
.map-placeholder {
    background: var(--gray-200);
    border-radius: var(--border-radius);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder-content {
    text-align: center;
    color: var(--gray-500);
}

.map-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

/* Button block */
.btn-block {
    display: block;
    width: 100%;
}

/* Responsive - nové stránky */
@media (max-width: 992px) {
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .docs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .step-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-item:not(:last-child)::after {
        display: none;
    }
    
    .step-benefits {
        grid-template-columns: 1fr;
    }
    
    .step-list {
        grid-template-columns: 1fr;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .docs-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Client Sidebar Extras
   ========================================= */

.sidebar-section-title {
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    font-weight: 600;
}

.client-sidebar {
    background: linear-gradient(180deg, var(--gray-800) 0%, var(--gray-900) 100%);
}

/* Company Switcher */
.company-switcher {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.2);
}

.company-switcher form {
    margin: 0;
}

.company-select {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--border-radius);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.company-select:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--primary);
}

.company-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

.company-select option {
    background: var(--gray-800);
    color: var(--white);
}

.company-info {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.company-info small {
    color: var(--gray-400);
    font-size: 0.75rem;
}

/* Active company badge in header */
.active-company-badge {
    margin-left: 1rem;
}

.active-company-badge .badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
}

/* Client page styling */
.client-page .page-header {
    margin-bottom: 2rem;
}

.client-page .page-header h1 {
    font-size: 1.75rem;
    color: var(--gray-800);
    margin: 0;
}

/* Badge secondary */
.badge-secondary {
    background: var(--gray-400);
    color: var(--white);
}

/* =========================================
   FÁZE 12: Vizuální vylepšení klientské zóny
   ========================================= */

/* Lepší karty pro statistiky */
.stat-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 4px solid var(--primary-color);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stat-card.success {
    border-left-color: var(--success-color);
}

.stat-card.warning {
    border-left-color: var(--warning-color);
}

.stat-card.danger {
    border-left-color: var(--danger-color);
}

.stat-card.info {
    border-left-color: #3b82f6;
}

.stat-card .stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.2;
}

.stat-card .stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.stat-card .stat-trend {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.stat-card .stat-trend.up {
    color: var(--success-color);
}

.stat-card .stat-trend.down {
    color: var(--danger-color);
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.quick-action {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--gray-700);
    transition: all 0.2s ease;
}

.quick-action:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--primary-color);
}

.quick-action .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.quick-action .label {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Empty states */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    border: 2px dashed var(--gray-200);
}

.empty-state .icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

/* Data tables improvements */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.data-table th {
    background: var(--gray-100);
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--gray-600);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--gray-200);
}

.data-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gray-200);
    vertical-align: middle;
}

.data-table tr:hover td {
    background: var(--gray-50);
}

.data-table .text-right {
    text-align: right;
}

.data-table .text-center {
    text-align: center;
}

/* Loading spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Tooltips */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 0.75rem;
    background: var(--gray-800);
    color: var(--white);
    font-size: 0.75rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Progress bars */
.progress {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-bar.success {
    background: var(--success-color);
}

.progress-bar.warning {
    background: var(--warning-color);
}

.progress-bar.danger {
    background: var(--danger-color);
}

/* Toast notifications */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    background: var(--gray-800);
    color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
    z-index: 10000;
}

.toast.success {
    background: var(--success-color);
}

.toast.error {
    background: var(--danger-color);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Date inputs styling */
input[type="date"],
input[type="datetime-local"] {
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 0.9rem;
}

/* Better select styling */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23334155' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

/* Month filter styling */
.month-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.month-filter a {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.month-filter a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.month-filter a.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* Chart placeholder */
.chart-placeholder {
    background: var(--gray-100);
    border-radius: var(--border-radius);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 1.25rem;
}

/* Invoice status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.draft {
    background: var(--gray-200);
    color: var(--gray-600);
}

.status-badge.sent {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.paid {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.overdue {
    background: #fee2e2;
    color: #b91c1c;
}

.status-badge.cancelled {
    background: var(--gray-100);
    color: var(--gray-500);
    text-decoration: line-through;
}

/* Print-friendly styles */
@media print {
    .admin-sidebar,
    .sidebar-nav,
    .company-switcher,
    .btn:not(.btn-print),
    .no-print {
        display: none !important;
    }
    
    .admin-content {
        margin-left: 0 !important;
        width: 100% !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ========================================
   RESPONZIVNÍ DESIGN - Mobil & Tablet
   ======================================== */

/* Tablet landscape (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 993px) {
    .container {
        padding: 0 30px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .nav-menu {
        gap: 20px;
    }
}

/* Tablet portrait (768px - 992px) */
@media (max-width: 992px) and (min-width: 769px) {
    .container {
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Velký mobil (576px - 768px) */
@media (max-width: 768px) and (min-width: 577px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .pricing-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobil (do 576px) */
@media (max-width: 576px) {
    :root {
        --header-height: 60px;
    }
    
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .pricing-card {
        padding: 24px 16px;
    }
    
    .pricing-price {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    /* Footer mobil */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        gap: 24px;
    }
    
    .footer-col h4 {
        font-size: 1rem;
    }
}

/* Velmi malý mobil (do 375px) */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.4rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .pricing-price {
        font-size: 1.8rem;
    }
    
    .counter-item {
        padding: 8px 10px;
        min-width: auto;
    }
    
    .counter-value {
        font-size: 1rem;
    }
}

/* ========================================
   COOKIE CONSENT LIŠTA
   ======================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-content {
    flex: 1;
    min-width: 300px;
}

.cookie-content h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-content p {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #0a0a0a;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.cookie-btn-settings {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-settings:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--gray-400);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-btn-reject:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Cookie consent - mobil */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 16px;
    }
    
    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .cookie-content {
        min-width: 100%;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

/* ========================================
   PRÁVNÍ STRÁNKY - Cookies & GDPR
   ======================================== */
.legal-page {
    padding: 120px 0 80px;
    background: var(--gray-50);
    min-height: 100vh;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.legal-content h1 {
    font-size: 2.2rem;
    color: var(--gray-900);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.legal-content .update-date {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.legal-content h2 {
    font-size: 1.4rem;
    color: var(--gray-800);
    margin: 40px 0 15px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
}

.legal-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.legal-content h3 {
    font-size: 1.1rem;
    color: var(--gray-700);
    margin: 25px 0 10px;
}

.legal-content p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-content ul,
.legal-content ol {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 25px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9rem;
}

.legal-content table th,
.legal-content table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid var(--gray-200);
}

.legal-content table th {
    background: var(--gray-100);
    color: var(--gray-700);
    font-weight: 600;
}

.legal-content table tr:nth-child(even) {
    background: var(--gray-50);
}

.legal-highlight {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(99, 102, 241, 0.05));
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}

.legal-highlight p {
    margin: 0;
    color: var(--gray-700);
}

.contact-box {
    background: var(--gray-100);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
}

.contact-box h3 {
    margin-top: 0;
    color: var(--gray-800);
}

.contact-box p {
    margin-bottom: 8px;
}

.contact-box strong {
    color: var(--gray-700);
}

/* Právní stránky - responzivní */
@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 50px;
    }
    
    .legal-content {
        padding: 30px 20px;
        border-radius: 0;
        margin: 0 -12px;
    }
    
    .legal-content h1 {
        font-size: 1.6rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .legal-content h2 {
        font-size: 1.2rem;
    }
    
    .legal-content table {
        display: block;
        overflow-x: auto;
    }
}

/* ========================================
   PODPORA STRÁNKA - Responzivní styly
   ======================================== */

/* Tablet (max 992px) */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .support-options.grid-3 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .support-option-card.featured {
        transform: none;
        order: -1;
    }
    
    .docs-cards.grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .premium-support-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
    
    .premium-features {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .banner-actions .btn {
        width: 100%;
    }
    
    .banner-divider {
        display: none;
    }
}

/* Mobil (max 768px) */
@media (max-width: 768px) {
    .support-hero {
        padding: 60px 0 40px;
    }
    
    .support-hero h1 {
        font-size: 2rem;
    }
    
    .search-wrapper {
        flex-direction: column;
        border-radius: 16px;
        padding: 15px;
    }
    
    .search-wrapper .search-input {
        width: 100%;
        text-align: center;
    }
    
    .search-wrapper .search-btn {
        width: 100%;
        margin-top: 10px;
    }
    
    .search-wrapper .search-icon {
        display: none;
    }
    
    .search-hints {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .docs-cards.grid-3 {
        grid-template-columns: 1fr;
    }
    
    .faq-tabs {
        gap: 5px;
    }
    
    .faq-tab {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .faq-answer-modern p {
        padding-left: 20px;
    }
    
    .quick-contact-banner {
        padding: 30px 0;
    }
}

/* Malý mobil (max 480px) */
@media (max-width: 480px) {
    .support-hero h1 {
        font-size: 1.6rem;
    }
    
    .support-hero .hero-badge {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
    
    .support-option-card {
        padding: 30px 20px;
    }
    
    .option-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .option-icon {
        font-size: 2rem;
    }
    
    .stat-item {
        padding: 10px 5px;
    }
    
    .stat-icon {
        font-size: 1.5rem;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .doc-card-modern {
        padding: 20px;
    }
    
    .doc-card-icon {
        font-size: 2rem;
    }
    
    .premium-support-card {
        padding: 30px 20px;
    }
}
