﻿/**
 * ============================================
 * AURORAENERGY - PROFESIONÁLNÍ CSS
 * Verze: 2.0
 * Autor: IT specialista Josef Feneš
 * ============================================
 */

/* ============================================
   IMPORT FONTŮ
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@600;700;800&display=swap');

/* ============================================
   CSS PROMĚNNÉ & BARVY
   ============================================ */
:root {
    /* Primární barvy */
    --ae-primary: #2563eb;
    --ae-primary-dark: #1e40af;
    --ae-primary-light: #3b82f6;
    
    /* Sekundární barvy */
    --ae-secondary: #64748b;
    --ae-success: #10b981;
    --ae-warning: #f59e0b;
    --ae-danger: #ef4444;
    --ae-info: #06b6d4;
    
    /* Gradient barvy */
    --ae-gradient-blue: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --ae-gradient-purple: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --ae-gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --ae-gradient-green: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --ae-gradient-orange: linear-gradient(135deg, #f59e0b 0%, #dc2626 100%);
    
    /* Neutrální barvy */
    --ae-white: #ffffff;
    --ae-black: #000000;
    --ae-gray-50: #f9fafb;
    --ae-gray-100: #f3f4f6;
    --ae-gray-200: #e5e7eb;
    --ae-gray-300: #d1d5db;
    --ae-gray-400: #9ca3af;
    --ae-gray-500: #6b7280;
    --ae-gray-600: #4b5563;
    --ae-gray-700: #374151;
    --ae-gray-800: #1f2937;
    --ae-gray-900: #111827;
    
    /* Fonty */
    --ae-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ae-font-heading: 'Poppins', sans-serif;
    
    /* Stíny */
    --ae-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --ae-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --ae-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --ae-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --ae-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Přechody */
    --ae-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --ae-transition-fast: all 0.15s ease;
    --ae-transition-slow: all 0.5s ease;
}

/* ============================================
   ZÁKLADNÍ RESET & TYPOGRAFIE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--ae-font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ae-gray-800);
    background-color: var(--ae-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ae-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--ae-gray-900);
}

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

a:hover {
    color: var(--ae-primary-dark);
}

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

/* Obecný styl obrázků ve slidu */
.ae-slide-image img {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 10px 24px rgba(0,0,0,0.25));
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

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

.preloader-icon {
    font-size: 4rem;
    color: var(--ae-warning);
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-text {
    font-family: var(--ae-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-top: 1rem;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* ============================================
   TOP BAR
   ============================================ */
.ae-topbar {
    background: var(--ae-gray-900);
    color: var(--ae-gray-300);
    padding: 0.5rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--ae-gray-800);
}

.ae-topbar-left span,
.ae-topbar-right span {
    display: inline-flex;
    align-items: center;
}

.ae-topbar-right a {
    color: var(--ae-gray-300);
    margin-right: 1rem;
    transition: var(--ae-transition-fast);
}

.ae-topbar-right a:hover {
    color: var(--ae-warning);
}

.ae-topbar-divider {
    display: inline-block;
    width: 1px;
    height: 1rem;
    background: var(--ae-gray-700);
    vertical-align: middle;
}

/* Live visit stats in topbar */
.ae-visit-stats {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.ae-visit-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    font-size: 0.8rem;
    background: var(--ae-gray-800);
    color: var(--ae-gray-200);
}
.ae-visit-online { background: rgba(16, 185, 129, 0.15); color: #a7f3d0; }
.ae-visit-today { background: rgba(59, 130, 246, 0.15); color: #bfdbfe; }
.ae-visit-total { background: rgba(245, 158, 11, 0.15); color: #fde68a; }
.ae-visit-badge i { opacity: 0.9; }

/* Footer stats strip */
.ae-footer-stats {
    background: #0b1220;
    border-top: 1px solid var(--ae-gray-800);
    padding: 12px 0 16px;
}

.ae-visit-boxes { gap: 1rem !important; }
.ae-footer-stats .ae-visit-badge {
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    min-width: 150px;
    justify-content: center;
    border: 1px solid var(--ae-gray-700);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.ae-footer-stats .ae-visit-badge i { font-size: 1.1rem; }

/* ============================================
   HLAVNÍ NAVIGACE
   ============================================ */
.ae-navbar {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--ae-transition);
}

.ae-navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Logo */
.ae-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ae-logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    box-shadow: none;
}

.ae-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.ae-logo-text {
    display: flex;
    flex-direction: column;
}

.ae-logo-name {
    font-family: var(--ae-font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ae-gray-900);
    line-height: 1;
}

.ae-logo-tagline {
    font-size: 0.75rem;
    color: var(--ae-gray-500);
    font-weight: 500;
}

/* Menu položky */
.ae-navbar .nav-link {
    color: var(--ae-gray-700);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--ae-transition-fast);
    display: flex;
    align-items: center;
}

.ae-navbar .nav-link:hover,
.ae-navbar .nav-link.active {
    color: var(--ae-primary);
    background: var(--ae-gray-50);
}

/* Mega menu */
.ae-mega-menu {
    min-width: 600px;
    padding: 2rem;
    border: none;
    box-shadow: var(--ae-shadow-xl);
    border-radius: 16px;
    margin-top: 0.5rem;
}

.ae-mega-section {
    margin-bottom: 1.5rem;
}

.ae-mega-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ae-gray-900);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ae-mega-menu .dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.ae-mega-menu .dropdown-item i {
    font-size: 1.25rem;
    color: var(--ae-primary);
    margin-top: 0.25rem;
}

.ae-mega-menu .dropdown-item strong {
    display: block;
    color: var(--ae-gray-900);
    margin-bottom: 0.25rem;
}

.ae-mega-menu .dropdown-item small {
    display: block;
    color: var(--ae-gray-600);
    font-size: 0.8125rem;
}

.ae-mega-promo {
    background: var(--ae-gradient-blue);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.ae-mega-promo-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.ae-mega-promo h6 {
    color: white;
    margin-bottom: 0.5rem;
}

.ae-mega-promo p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

/* Standardní dropdown */
.ae-dropdown {
    border: none;
    box-shadow: var(--ae-shadow-lg);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.ae-dropdown .dropdown-item {
    border-radius: 8px;
    padding: 0.625rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--ae-transition-fast);
}

.ae-dropdown .dropdown-item:hover {
    background: var(--ae-gray-50);
    color: var(--ae-primary);
}

.ae-dropdown .dropdown-item i {
    font-size: 1.125rem;
}

/* Navbar akční tlačítka */
.ae-navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ae-btn-primary {
    background: var(--ae-gradient-blue);
    color: white;
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: var(--ae-transition);
}

.ae-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.ae-btn-outline {
    background: transparent;
    color: var(--ae-gray-700);
    border: 2px solid var(--ae-gray-300);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--ae-transition);
}

.ae-btn-outline:hover {
    background: var(--ae-gray-100);
    border-color: var(--ae-gray-400);
    color: var(--ae-gray-900);
}

.ae-btn-admin {
    background: var(--ae-gradient-purple);
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

.ae-btn-user {
    background: var(--ae-gray-100);
    color: var(--ae-gray-700);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
}

/* ============================================
   MOBILE MENU (OFFCANVAS)
   ============================================ */
.ae-offcanvas {
    width: 300px;
}

.ae-offcanvas-header {
    background: var(--ae-gradient-blue);
    color: white;
    padding: 1.5rem;
}

.ae-offcanvas-title {
    font-family: var(--ae-font-heading);
    font-weight: 700;
}

.btn-close {
    filter: brightness(0) invert(1);
}

.ae-offcanvas-body .nav-link {
    color: var(--ae-gray-700);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ae-offcanvas-body .nav-link:hover {
    background: var(--ae-gray-100);
    color: var(--ae-primary);
}

.ae-mobile-actions {
    padding: 1rem;
    background: var(--ae-gray-50);
    border-top: 1px solid var(--ae-gray-200);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.ae-hero-slider {
    position: relative;
    height: 650px;
    overflow: hidden;
}

.ae-hero-slide {
    height: 650px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Gradientní pozadí pro každý slide */
.ae-hero-slide-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ae-hero-slide-2 {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
}

.ae-hero-slide-3 {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}

.ae-hero-slide-4 {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Dekorativní vzory */
.ae-hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.ae-hero-content {
    position: relative;
    z-index: 10;
    color: white;
}

.ae-hero-badge {
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ae-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.ae-hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.ae-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.ae-btn-white {
    background: white;
    color: var(--ae-gray-900);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: var(--ae-transition);
}

.ae-btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    color: var(--ae-primary);
}

.ae-btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--ae-transition);
}

.ae-btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
}

/* Hero vizualizace */
.ae-hero-visual {
    position: relative;
    z-index: 10;
}

.ae-hero-mockup {
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ae-mockup-header {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 12px 12px 0 0;
    margin-bottom: 1.5rem;
}

.ae-mockup-dots {
    display: flex;
    gap: 0.5rem;
}

.ae-mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
}

.ae-visual-item {
    background: rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ae-progress-ring {
    width: 200px;
    height: 200px;
    position: relative;
    margin: 0 auto;
}

.ae-progress-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        rgba(255, 255, 255, 0.9) 0deg,
        rgba(255, 255, 255, 0.9) 270deg,
        rgba(255, 255, 255, 0.2) 270deg,
        rgba(255, 255, 255, 0.2) 360deg
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.ae-progress-inner {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* Swiper navigace */
.ae-hero-slider .swiper-button-next,
.ae-hero-slider .swiper-button-prev {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ae-hero-slider .swiper-button-next:hover,
.ae-hero-slider .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3);
}

.ae-hero-slider .swiper-button-next::after,
.ae-hero-slider .swiper-button-prev::after {
    font-size: 1.25rem;
}

.ae-hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.5;
}

.ae-hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

/* ============================================
   HERO SLIDER - NOVÉ VIZUÁLNÍ PRVKY
   ============================================ */

/* Statistiky pod textem */
.ae-slide-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.ae-stat-item {
    display: flex;
    flex-direction: column;
}

.ae-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.ae-stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Trust line pod tlačítky */
.ae-slide-trust {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-top: 1rem;
    margin-bottom: 0;
}

.ae-slide-trust i {
    color: var(--ae-success);
}

/* ============================================
   SLIDE 1 - DASHBOARD MOCKUP
   ============================================ */
.ae-hero-visual {
    perspective: 1000px;
}

.ae-dashboard-mockup {
    background: linear-gradient(145deg, #1a1f35 0%, #0f1322 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.ae-dashboard-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.ae-dashboard-header {
    background: linear-gradient(90deg, #2a2f45 0%, #1f2337 100%);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ae-dashboard-dots {
    display: flex;
    gap: 6px;
}

.ae-dashboard-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.ae-dashboard-dots span:nth-child(1) { background: #ff5f57; }
.ae-dashboard-dots span:nth-child(2) { background: #ffbd2e; }
.ae-dashboard-dots span:nth-child(3) { background: #28c840; }

.ae-dashboard-title {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

.ae-dashboard-body {
    padding: 1.25rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.ae-dashboard-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.ae-dashboard-card i {
    font-size: 1.75rem;
}

.ae-card-production i { color: #fbbf24; }
.ae-card-consumption i { color: #60a5fa; }
.ae-card-battery i { color: #34d399; }

.ae-card-info {
    display: flex;
    flex-direction: column;
}

.ae-card-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}

.ae-card-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.ae-animate-value {
    animation: valuePulse 2s ease-in-out infinite;
}

@keyframes valuePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.ae-card-trend {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.ae-card-trend.up { background: rgba(52,211,153,0.2); color: #34d399; }
.ae-card-trend.down { background: rgba(96,165,250,0.2); color: #60a5fa; }

.ae-battery-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 0 0 12px 12px;
}

.ae-battery-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #34d399, #10b981);
    border-radius: 0 0 0 12px;
}

.ae-dashboard-graph {
    grid-column: span 2;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 1rem;
}

.ae-graph-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
}

.ae-graph-bars span {
    flex: 1;
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
    border-radius: 4px 4px 0 0;
    animation: graphGrow 1s ease-out forwards;
    transform-origin: bottom;
}

@keyframes graphGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.ae-graph-label {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.75rem;
}

/* ============================================
   SLIDE 2 - SMART HOME VIZUALIZACE
   ============================================ */
.ae-visual-automation .ae-smart-home {
    position: relative;
    padding: 2rem;
}

.ae-home-roof {
    position: relative;
    margin-bottom: 1.5rem;
}

.ae-solar-panels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-width: 280px;
    margin: 0 auto;
    padding: 1rem;
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border-radius: 8px 8px 0 0;
    position: relative;
}

.ae-solar-panels span {
    aspect-ratio: 2/1;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    border: 2px solid #3b82f6;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.ae-solar-panels span::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: solarShine 3s ease-in-out infinite;
}

@keyframes solarShine {
    0%, 100% { transform: translateX(-100%) translateY(-100%); }
    50% { transform: translateX(100%) translateY(100%); }
}

.ae-sun-rays {
    position: absolute;
    top: -2rem;
    right: 1rem;
    font-size: 3rem;
    color: #fbbf24;
    animation: sunPulse 2s ease-in-out infinite;
}

@keyframes sunPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(251,191,36,0.5)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 20px rgba(251,191,36,0.8)); }
}

.ae-home-body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    padding: 1.5rem;
    border-radius: 0 0 16px 16px;
    border: 1px solid rgba(255,255,255,0.1);
    border-top: none;
}

.ae-device {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.ae-device.ae-active {
    background: rgba(52,211,153,0.1);
    border-color: rgba(52,211,153,0.3);
    box-shadow: 0 0 20px rgba(52,211,153,0.2);
}

.ae-device i {
    font-size: 1.75rem;
    color: rgba(255,255,255,0.4);
    display: block;
    margin-bottom: 0.5rem;
}

.ae-device.ae-active i {
    color: #34d399;
}

.ae-device span {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.ae-device-status {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
    color: rgba(255,255,255,0.4);
}

.ae-device.ae-active .ae-device-status {
    color: #34d399;
}

.ae-energy-flow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    pointer-events: none;
}

.ae-flow-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    border: 2px dashed rgba(251,191,36,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: flowRotate 10s linear infinite;
}

.ae-flow-dot {
    position: absolute;
    top: 0;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #fbbf24;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(251,191,36,0.8);
    animation: flowDot 10s linear infinite;
}

@keyframes flowRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes flowDot {
    from { transform: translateX(-50%) rotate(0deg) translateY(-40px); }
    to { transform: translateX(-50%) rotate(360deg) translateY(-40px); }
}

/* ============================================
   SLIDE 3 - AI CHAT VIZUALIZACE
   ============================================ */
.ae-visual-ai .ae-chat-window {
    background: linear-gradient(145deg, #1a1f35 0%, #0f1322 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1);
    max-width: 400px;
    margin: 0 auto;
}

.ae-chat-header {
    background: linear-gradient(90deg, #2a2f45 0%, #1f2337 100%);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ae-ai-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
}

.ae-chat-info {
    display: flex;
    flex-direction: column;
}

.ae-chat-name {
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
}

.ae-chat-status {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 4px;
}

.ae-online-dot {
    width: 8px;
    height: 8px;
    background: #34d399;
    border-radius: 50%;
    animation: onlinePulse 2s ease-in-out infinite;
}

@keyframes onlinePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.ae-chat-messages {
    padding: 1rem;
    min-height: 220px;
}

.ae-message {
    margin-bottom: 1rem;
    animation: messageSlide 0.5s ease-out;
}

@keyframes messageSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ae-message-user {
    text-align: right;
}

.ae-message-user p {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 18px 18px 4px 18px;
    display: inline-block;
    max-width: 85%;
    font-size: 0.9rem;
    margin: 0;
}

.ae-message-ai p {
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 18px 18px 18px 4px;
    display: inline-block;
    max-width: 85%;
    font-size: 0.9rem;
    margin: 0 0 0.5rem 0;
}

.ae-message-tip {
    display: block;
    background: rgba(52,211,153,0.15);
    border-left: 3px solid #34d399;
    padding: 0.5rem 0.75rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.9);
    margin-top: 0.5rem;
}

.ae-typing-indicator {
    display: flex;
    gap: 4px;
    padding: 0.5rem;
}

.ae-typing-indicator span {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    animation: typing 1.4s ease-in-out infinite;
}

.ae-typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.ae-typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

/* ============================================
   SLIDE 4 - SOBĚSTAČNOST VIZUALIZACE
   ============================================ */
.ae-visual-independence .ae-independence-meter {
    text-align: center;
    padding: 2rem;
}

.ae-meter-circle {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
}

.ae-meter-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ae-meter-bg {
    fill: none;
    stroke: rgba(255,255,255,0.1);
    stroke-width: 8;
}

.ae-meter-progress {
    fill: none;
    stroke: url(#greenGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 74.644;
    animation: meterFill 2s ease-out forwards;
}

@keyframes meterFill {
    from { stroke-dashoffset: 339.292; }
    to { stroke-dashoffset: 74.644; }
}

.ae-meter-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.ae-meter-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.ae-meter-unit {
    font-size: 1.5rem;
    font-weight: 600;
    color: #34d399;
}

.ae-meter-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
}

.ae-independence-badges {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.ae-badge-item {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ae-badge-item i {
    color: #fbbf24;
}

.ae-badge-highlight {
    background: linear-gradient(135deg, rgba(16,185,129,0.3), rgba(5,150,105,0.3));
    border: 1px solid rgba(16,185,129,0.5);
}

.ae-badge-highlight i {
    color: #34d399;
}

.ae-minihub-promo {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.ae-minihub-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.ae-minihub-text {
    text-align: left;
}

.ae-minihub-text strong {
    display: block;
    color: white;
    font-size: 0.95rem;
}

.ae-minihub-text span {
    font-size: 0.8rem;
    color: #34d399;
}

/* ============================================
   STATS BAR
   ============================================ */
.ae-stats {
    background: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
    padding: 3rem 0;
    margin-top: -50px;
}

.ae-stat-item {
    text-align: center;
    padding: 1rem;
}

.ae-stat-icon {
    font-size: 2.5rem;
    background: var(--ae-gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.ae-stat-number {
    font-family: var(--ae-font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ae-gray-900);
    line-height: 1;
}

.ae-stat-label {
    color: var(--ae-gray-600);
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* ============================================
   SEKCE (OBECNÉ)
   ============================================ */
.ae-section {
    padding: 5rem 0;
}

.ae-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.ae-section-badge {
    display: inline-block;
    background: var(--ae-primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.ae-section-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.ae-section-description {
    font-size: 1.125rem;
    color: var(--ae-gray-600);
    max-width: 700px;
    margin: 0 auto;
}

.ae-bg-light {
    background: var(--ae-gray-50);
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.ae-feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: var(--ae-transition);
    border: 2px solid transparent;
    box-shadow: var(--ae-shadow-md);
}

.ae-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--ae-shadow-xl);
    border-color: var(--ae-primary);
}

.ae-feature-card.featured {
    background: var(--ae-gradient-blue);
    color: white;
    border-color: transparent;
}

.ae-feature-card.featured .ae-feature-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.ae-feature-card.featured h3,
.ae-feature-card.featured p {
    color: white;
}

.ae-feature-icon {
    width: 70px;
    height: 70px;
    background: var(--ae-gray-100);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--ae-transition);
}

.ae-feature-card:hover .ae-feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.ae-feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.ae-feature-card p {
    color: var(--ae-gray-600);
    margin-bottom: 1.5rem;
}

.ae-learn-more {
    color: var(--ae-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--ae-transition-fast);
}

.ae-feature-card.featured .ae-learn-more {
    color: white;
}

.ae-learn-more:hover {
    gap: 0.75rem;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.ae-step-card {
    position: relative;
    text-align: center;
    padding: 2rem 1rem;
}

.ae-step-number {
    width: 80px;
    height: 80px;
    background: var(--ae-gradient-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 10;
}

.ae-step-card::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--ae-primary) 0%, var(--ae-gray-300) 100%);
    z-index: 1;
}

.ae-step-card:last-child::after {
    display: none;
}

.ae-step-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.ae-step-card p {
    color: var(--ae-gray-600);
    font-size: 0.9375rem;
}

/* ============================================
   TARGET AUDIENCE CARDS
   ============================================ */
.ae-audience-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--ae-shadow-lg);
    transition: var(--ae-transition);
    height: 100%;
}

.ae-audience-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--ae-shadow-2xl);
}

.ae-audience-card.featured {
    border: 3px solid var(--ae-primary);
}

.ae-audience-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.ae-audience-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 100%);
}

.ae-audience-content {
    padding: 2rem;
}

.ae-audience-icon {
    width: 60px;
    height: 60px;
    background: var(--ae-gradient-blue);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.ae-audience-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.ae-audience-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.ae-audience-card ul li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--ae-gray-700);
}

.ae-audience-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    color: var(--ae-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

/* ============================================
   PRICING CARDS
   ============================================ */
.ae-pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--ae-transition);
    border: 2px solid var(--ae-gray-200);
    height: 100%;
    position: relative;
}

.ae-pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--ae-shadow-2xl);
    border-color: var(--ae-primary);
}

.ae-pricing-card.featured {
    background: var(--ae-gradient-blue);
    color: white;
    border-color: transparent;
    transform: scale(1.05);
}

.ae-pricing-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.ae-pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ae-gradient-orange);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--ae-shadow-lg);
}

.ae-pricing-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.ae-pricing-card.featured h4,
.ae-pricing-card.featured .ae-pricing-price,
.ae-pricing-card.featured .ae-pricing-period,
.ae-pricing-card.featured ul li {
    color: white;
}

.ae-pricing-price {
    font-family: var(--ae-font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.ae-pricing-period {
    color: var(--ae-gray-600);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.ae-pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.ae-pricing-card ul li {
    padding: 0.875rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--ae-gray-700);
    border-bottom: 1px solid var(--ae-gray-100);
}

.ae-pricing-card.featured ul li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.ae-pricing-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    color: var(--ae-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.ae-pricing-card.featured ul li::before {
    color: white;
}

.ae-btn-purple {
    background: var(--ae-gradient-purple);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
    transition: var(--ae-transition);
    display: inline-block;
}

.ae-btn-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.4);
    color: white;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.ae-testimonials {
    background: var(--ae-gradient-blue);
    color: white;
    position: relative;
    overflow: hidden;
}

.ae-testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.ae-testimonials .ae-section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.ae-testimonials .ae-section-title,
.ae-testimonials .ae-section-description {
    color: white;
}

.ae-testimonial-card {
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
}

.ae-testimonial-quote {
    font-size: 3rem;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.ae-testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.ae-testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ae-testimonial-avatar {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.ae-testimonial-info strong {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.ae-testimonial-info small {
    opacity: 0.8;
}

.ae-testimonial-rating {
    margin-top: 1rem;
}

.ae-testimonial-rating i {
    color: var(--ae-warning);
    font-size: 1.25rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.ae-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.ae-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.ae-cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.ae-cta-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.ae-cta h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
}

.ae-cta p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.ae-btn-cyan {
    background: var(--ae-gradient-cyan);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.3);
    transition: var(--ae-transition);
}

.ae-btn-cyan:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.4);
    color: white;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.ae-faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--ae-shadow-sm);
    overflow: hidden;
    transition: var(--ae-transition);
}

.ae-faq-item:hover {
    box-shadow: var(--ae-shadow-md);
}

.ae-faq-question {
    background: white;
    border: none;
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    font-family: var(--ae-font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ae-gray-900);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--ae-transition-fast);
}

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

.ae-faq-question i {
    font-size: 1.25rem;
    transition: var(--ae-transition);
}

.ae-faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.ae-faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--ae-gray-700);
    line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.ae-footer {
    background: var(--ae-gray-900);
    color: var(--ae-gray-300);
    padding-top: 4rem;
}

.ae-footer h5 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.ae-footer p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.ae-footer-logo-icon {
    width: 50px;
    height: 50px;
    background: var(--ae-gradient-blue);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

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

.ae-footer-links li {
    margin-bottom: 0.75rem;
}

.ae-footer-links a {
    color: var(--ae-gray-300);
    transition: var(--ae-transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ae-footer-links a:hover {
    color: white;
    padding-left: 0.5rem;
}

.ae-footer-links i {
    font-size: 0.875rem;
}

.ae-footer-contact {
    list-style: none;
    padding: 0;
}

.ae-footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.ae-footer-contact i {
    font-size: 1.25rem;
    color: var(--ae-primary);
    margin-top: 0.25rem;
}

.ae-newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.ae-newsletter-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--ae-gray-700);
    border-radius: 50px;
    background: var(--ae-gray-800);
    color: white;
    transition: var(--ae-transition-fast);
}

.ae-newsletter-input:focus {
    outline: none;
    border-color: var(--ae-primary);
    background: var(--ae-gray-900);
}

.ae-newsletter-input::placeholder {
    color: var(--ae-gray-500);
}

.ae-btn-green {
    background: var(--ae-gradient-green);
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: var(--ae-transition);
}

.ae-btn-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.ae-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.ae-social-link {
    width: 45px;
    height: 45px;
    background: var(--ae-gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ae-gray-300);
    transition: var(--ae-transition);
    border: 1px solid var(--ae-gray-700);
}

.ae-social-link:hover {
    background: var(--ae-primary);
    color: white;
    border-color: var(--ae-primary);
    transform: translateY(-3px);
}

.ae-footer-bottom {
    background: var(--ae-black);
    padding: 1.5rem 0;
    margin-top: 3rem;
    border-top: 1px solid var(--ae-gray-800);
}

.ae-footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.ae-footer-bottom-links a {
    color: var(--ae-gray-400);
    font-size: 0.875rem;
}

.ae-footer-bottom-links a:hover {
    color: white;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.ae-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--ae-gradient-blue);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--ae-transition);
    z-index: 999;
}

.ae-scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.ae-scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.ae-breadcrumb {
    background: var(--ae-gray-50);
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

.ae-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.ae-breadcrumb .breadcrumb-item {
    color: var(--ae-gray-600);
}

.ae-breadcrumb .breadcrumb-item a {
    color: var(--ae-primary);
    font-weight: 500;
}

.ae-breadcrumb .breadcrumb-item.active {
    color: var(--ae-gray-900);
    font-weight: 600;
}

/* ============================================
   FLASH MESSAGES
   ============================================ */
.ae-flash-messages {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9998;
    max-width: 400px;
}

.ae-alert {
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--ae-shadow-lg);
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ============================================
   RESPONSIVE - MEDIA QUERIES
   ============================================ */
@media (max-width: 1199px) {
    .ae-hero-title {
        font-size: 3rem;
    }
    
    .ae-section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 991px) {
    .ae-hero-slider,
    .ae-hero-slide {
        height: 550px;
    }
    
    .ae-hero-title {
        font-size: 2.5rem;
    }
    
    .ae-hero-description {
        font-size: 1.125rem;
    }
    
    .ae-section {
        padding: 3rem 0;
    }
    
    .ae-section-header {
        margin-bottom: 3rem;
    }
    
    .ae-mega-menu {
        min-width: auto;
        width: 100%;
    }
    
    .ae-step-card::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .ae-topbar-left,
    .ae-topbar-right {
        font-size: 0.75rem;
    }
    
    .ae-logo-name {
        font-size: 1.25rem;
    }
    
    .ae-logo-tagline {
        font-size: 0.625rem;
    }
    
    .ae-hero-slider,
    .ae-hero-slide {
        height: auto;
        min-height: 500px;
        padding: 3rem 0;
    }
    
    .ae-hero-title {
        font-size: 2rem;
    }
    
    .ae-hero-description {
        font-size: 1rem;
    }
    
    .ae-hero-buttons {
        flex-direction: column;
    }
    
    .ae-stats {
        padding: 2rem 0;
    }
    
    .ae-stat-number {
        font-size: 2rem;
    }
    
    .ae-section-title {
        font-size: 1.75rem;
    }
    
    .ae-cta h2 {
        font-size: 2rem;
    }
    
    .ae-cta p {
        font-size: 1rem;
    }
    
    .ae-cta-buttons {
        flex-direction: column;
    }
    
    .ae-pricing-price {
        font-size: 2.5rem;
    }
    
    .ae-scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 575px) {
    .ae-section {
        padding: 2rem 0;
    }
    
    .ae-hero-title {
        font-size: 1.75rem;
    }
    
    .ae-section-title {
        font-size: 1.5rem;
    }
    
    .ae-feature-card,
    .ae-pricing-card,
    .ae-testimonial-card {
        padding: 1.5rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-gradient {
    background: var(--ae-gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-blue {
    background: var(--ae-gradient-blue);
}

.badge-purple {
    background: var(--ae-gradient-purple);
}

.badge-cyan {
    background: var(--ae-gradient-cyan);
}

.badge-green {
    background: var(--ae-gradient-green);
}

.badge-orange {
    background: var(--ae-gradient-orange);
}

/* ============================================
   SLUŽBY – KARUSEL
   ============================================ */
.ae-services-section {
    padding: 80px 0;
    background: var(--ae-gray-50);
}
.ae-service-card {
    background: #fff;
    border: 1px solid var(--ae-gray-200);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--ae-shadow-sm);
    transition: var(--ae-transition);
}
.ae-service-card:hover { transform: translateY(-4px); box-shadow: var(--ae-shadow-lg); }
.ae-service-card img { width: 100%; height: auto; display: block; }
.ae-service-caption { padding: 16px 18px; }
.ae-service-caption h5 { margin: 0 0 6px; font-weight: 700; }
.ae-service-caption p { margin: 0; color: var(--ae-gray-600); font-size: 0.95rem; }

/* ============================================
   KLIENTSKÝ SIDEBAR - CLIENT ZONE
   ============================================ */
.ae-client-wrapper {
    display: flex;
    min-height: calc(100vh - 80px);
    background: var(--ae-gray-100);
}

.ae-client-sidebar {
    width: 260px;
    min-width: 260px;
    background: var(--ae-gray-900);
    color: var(--ae-white);
    padding: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    transition: var(--ae-transition);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

/* Scrollbar pro sidebar */
.ae-client-sidebar::-webkit-scrollbar {
    width: 4px;
}
.ae-client-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.ae-client-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}
.ae-client-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

.ae-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.15);
}

.ae-sidebar-header h5 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ae-white);
    display: flex;
    align-items: center;
}

.ae-sidebar-header h5 i {
    color: var(--ae-primary-light);
}

/* Navigace v sidebaru */
.ae-sidebar-nav {
    padding: 12px 0;
    display: flex;
    flex-direction: column;
}

/* Sekce (nadpis) */
.ae-menu-section {
    padding: 18px 20px 8px 20px;
    margin: 0;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ae-gray-500);
}

/* Odkaz menu */
.ae-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    color: var(--ae-gray-400);
    text-decoration: none !important;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.ae-menu-link:hover {
    color: var(--ae-white);
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none !important;
}

.ae-menu-link.active {
    color: var(--ae-white);
    background: rgba(37, 99, 235, 0.15);
    border-left-color: var(--ae-primary);
}

.ae-menu-link i {
    width: 18px;
    font-size: 0.95rem;
    opacity: 0.8;
    flex-shrink: 0;
}

.ae-menu-link span {
    flex: 1;
}

/* Hlavní odkaz (Přehled) */
.ae-menu-link.ae-menu-main {
    font-weight: 600;
    color: var(--ae-gray-300);
}

.ae-menu-link.ae-menu-main i {
    color: var(--ae-primary-light);
}

/* Odhlásit se */
.ae-menu-link.ae-menu-logout {
    margin-top: 8px;
    color: var(--ae-danger);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

.ae-menu-link.ae-menu-logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Hlavní obsahová oblast */
.ae-client-content {
    flex: 1;
    min-width: 0;
    padding: 24px 32px;
    background: var(--ae-gray-100);
    overflow-x: hidden;
}

/* Mobilní toggle tlačítko */
.ae-sidebar-toggle {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ae-primary);
    color: var(--ae-white);
    border: none;
    box-shadow: var(--ae-shadow-xl);
    cursor: pointer;
    z-index: 1001;
    transition: var(--ae-transition);
    align-items: center;
    justify-content: center;
}

.ae-sidebar-toggle:hover {
    background: var(--ae-primary-dark);
    transform: scale(1.1);
}

.ae-sidebar-toggle i {
    font-size: 1.4rem;
}

/* Overlay pro mobilní zobrazení */
.ae-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ae-sidebar-overlay.active {
    opacity: 1;
}

/* Responzivní design pro tablet */
@media (max-width: 1200px) {
    .ae-client-sidebar {
        width: 240px;
        min-width: 240px;
    }
    
    .ae-client-content {
        padding: 20px 24px;
    }
    
    .ae-menu-link {
        padding: 10px 16px;
    }
}

/* Responzivní design pro mobil */
@media (max-width: 991px) {
    .ae-client-wrapper {
        display: block;
    }
    
    .ae-client-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        height: 100vh;
        width: 260px;
        min-width: 260px;
        z-index: 1000;
        transition: left 0.3s ease;
    }
    
    .ae-client-sidebar.active {
        left: 0;
    }
    
    .ae-sidebar-toggle {
        display: flex;
    }
    
    .ae-sidebar-overlay {
        display: block;
        pointer-events: none;
    }
    
    .ae-sidebar-overlay.active {
        pointer-events: auto;
    }
    
    .ae-client-content {
        padding: 20px 16px;
        min-height: calc(100vh - 80px);
    }
}

@media (max-width: 576px) {
    .ae-client-sidebar {
        width: 240px;
        min-width: 240px;
        left: -260px;
    }
    
    .ae-client-content {
        padding: 16px 12px;
    }
    
    .ae-menu-link {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .ae-menu-section {
        padding: 14px 16px 6px 16px;
        font-size: 0.6rem;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .ae-topbar,
    .ae-navbar,
    .ae-scroll-top,
    .ae-client-sidebar,
    .ae-sidebar-toggle,
    .ae-hero-slider .swiper-button-next,
    .ae-hero-slider .swiper-button-prev,
    .ae-hero-slider .swiper-pagination {
        display: none;
    }
    
    .ae-client-wrapper {
        display: block;
    }
    
    .ae-client-content {
        padding: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: black;
    }
}

/* =============================================
   ADMIN ZÓNA - Kompaktní logo
   ============================================= */
body.admin-zone .ae-navbar .ae-logo-icon {
    width: 36px;
    height: 36px;
}

body.admin-zone .ae-navbar .ae-logo-name {
    font-size: 1.1rem;
}

body.admin-zone .ae-navbar .ae-logo-tagline {
    font-size: 0.65rem;
}

body.admin-zone .ae-navbar .ae-logo {
    gap: 0.5rem;
}
