        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 5px;
            border-radius: 4px;
            transition: background-color 0.3s;
            background: rgba(255, 255, 255, 0.1);
        }

        .hamburger:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background-color: #000;
            margin: 3px 0;
            transition: all 0.3s ease;
            border-radius: 2px;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }

        .mobile-menu {
            display: none;
            position: fixed;
            top: 80px;
            left: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(10px);
            z-index: 999;
            padding: 2rem 0;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            transform: translateY(-100%);
            transition: transform 0.3s ease;
        }

        .mobile-menu.active {
            display: block;
            transform: translateY(0);
        }

        .mobile-nav-links {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            padding: 0 2rem;
            margin: 0;
            list-style: none;
        }

        .mobile-nav-links a {
            color: #333;
            text-decoration: none;
            font-size: 1.1rem;
            font-weight: 650;
            padding: 1rem;
            border-radius: 8px;
            transition: 0.3s;
            text-align: center;
        }

        .mobile-nav-links a:hover {
            background: rgba(0, 123, 255, 0.1);
            color: #007bff;
        }

        .mobile-language-switch {
            text-align: center;
            margin-top: 1rem;
            padding: 0 2rem;
        }

        .mobile-language-switch .language-switch {
            position: static;
            display: inline-block;
            background: rgba(0, 123, 255, 0.1);
            border: 1px solid rgba(0, 123, 255, 0.3);
        }

        .menu-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.3);
            z-index: 998;
        }

        .menu-overlay.active {
            display: block;
        }

        body.menu-open {
            overflow: hidden;
        }

        /* Responzivní pravidla */
        @media (min-width: 1150px) {
            .hamburger {
                display: none !important;
            }
            
            .mobile-menu {
                display: none !important;
            }
        }

        @media (max-width: 1149px) {
            .hamburger {
                display: flex;
            }
            
            .nav-links {
                display: none;
            }
            
            .language-switch {
                display: none;
            }
        }


        .language-selector {
            position: relative;
            margin-left: auto;
            right: 20px;
            margin-left: 40px;
            display: inline-block;
            flex-shrink: 0;
        }

        .language-trigger {
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.9);
            padding: 8px 12px;
            border-radius: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            font-family: inherit;
            font-size: 14px;
            font-weight: bold;
            color: #333;
            min-width: 80px;
            justify-content: center;
        }

        .language-trigger:hover {
            background: rgba(255, 255, 255, 1);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            transform: translateY(-1px);
        }

        .language-trigger.active {
            background: rgba(255, 255, 255, 1);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        .current-language {
            font-weight: bold;
            color: #007bff;
        }

        .globe-icon {
            font-size: 16px;
            transition: transform 0.3s ease;
        }

        .language-trigger.active .globe-icon {
            transform: rotate(180deg);
        }

        /* DROPDOWN MENU */
        .language-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            background: white;
            min-width: 200px;
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px) scale(0.95);
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            z-index: 1000;
            overflow: hidden;
            border: 1px solid rgba(0,0,0,0.05);
        }

        .language-dropdown.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }

        .language-option {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            text-decoration: none;
            color: #333;
            transition: all 0.2s ease;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            font-size: 14px;
        }

        .language-option:last-child {
            border-bottom: none;
        }

        .language-option:hover {
            background: rgba(0, 123, 255, 0.08);
            color: #007bff;
            padding-left: 20px;
        }

        .language-option.current {
            background: rgba(0, 123, 255, 0.1);
            color: #007bff;
            font-weight: bold;
        }

        /*.language-option.current::after {
            content: '✓';
            margin-left: auto;
            font-weight: bold;
            color: #28a745;
        }*/

        .flag-emoji {
            font-size: 18px;
            flex-shrink: 0;
        }

        .language-info {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .language-name {
            font-weight: 500;
            line-height: 1.2;
        }

        .language-native {
            font-size: 12px;
            color: #666;
            line-height: 1;
        }

        /* MOBILNÍ VERZE - INTEGROVANÁ S HAMBURGER MENU */
        .mobile-language-selector {
            text-align: center;
            margin-top: 1.5rem;
            padding: 0 2rem;
        }

        .mobile-language-trigger {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(0, 123, 255, 0.1);
            border: 1px solid rgba(0, 123, 255, 0.3);
            padding: 10px 16px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 14px;
            font-weight: bold;
            color: #007bff;
            transition: all 0.3s ease;
            font-family: inherit;
        }

        .mobile-language-trigger:hover {
            background: rgba(0, 123, 255, 0.2);
        }

        .mobile-language-trigger .globe-icon {
            font-size: 14px;
        }

        .mobile-language-dropdown {
            margin-top: 12px;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 12px;
            overflow: hidden;
            max-height: 0;
            opacity: 0;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        .mobile-language-dropdown.active {
            max-height: 300px;
            opacity: 1;
        }

        .mobile-language-option {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            text-decoration: none;
            color: #333;
            transition: background-color 0.2s ease;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            font-size: 14px;
        }

        .mobile-language-option:last-child {
            border-bottom: none;
        }

        .mobile-language-option:hover {
            background: rgba(0, 123, 255, 0.1);
        }

        .mobile-language-option.current {
            background: rgba(0, 123, 255, 0.15);
            color: #007bff;
            font-weight: bold;
        }

        .mobile-language-option .flag-emoji {
            font-size: 16px;
        }

        /* RESPONZIVNÍ PRAVIDLA */
        @media (min-width: 1150px) {
            .mobile-language-selector {
                display: none;
            }
        }

        @media (max-width: 1149px) {
            .language-selector {
                display: none;
            }
        }

        .lang-option {
            color: #666;
            text-decoration: none;
            font-weight: bold;
            font-size: 14px;
            transition: color 0.3s;
        }

        .lang-option:hover {
            color: #007bff;
        }

        .lang-option.active {
            color: #007bff;
        }

        .separator {
            margin: 0 8px;
            color: #ccc;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        header {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        /*.logo {
            font-size: 1.8rem;
            font-weight: bold;
            color: rgb(0, 0, 0);
            text-decoration: none;
        }*/

        /*.logo {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            font-size: 1.8rem;
            font-weight: bold;
            color: rgb(0, 0, 0);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .logo:hover {
            opacity: 0.8;
            transform: translateY(-1px);
        }

        .logo-image {
            width: 40px;
            height: 40px;
            object-fit: contain;
            transition: all 0.3s ease;
        }

        .logo:hover .logo-image {
            transform: scale(1.1) rotate(5deg);
        }

        .logo-text {
            font-size: 1.8rem;
            font-weight: bold;
            color: rgb(0, 0, 0);
            transition: all 0.3s ease;
        }*/

        /* Responzivní úpravy */
        /*@media (max-width: 900px) {
            .logo {
                font-size: 1.5rem;
                gap: 0.6rem;
            }
            
            .logo-image {
                width: 35px;
                height: 35px;
            }
            
            .logo-text {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .logo {
                font-size: 1.3rem;
                gap: 0.5rem;
            }
            
            .logo-image {
                width: 30px;
                height: 30px;
            }
            
            .logo-text {
                font-size: 1.3rem;
            }
        }*/

         /*Pokud chceš pouze logo bez textu na mobilech */
        /*@media (max-width: 400px) {
            .logo-text {
                display: none;*/ /* Skryje text na velmi malých obrazovkách */
            /*}
            
            .logo-image {
                width: 35px;
                height: 35px;
            }
        }*/


        .logo {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            font-size: 1.8rem;
            font-weight: bold;
            color: rgb(0, 0, 0);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .logo:hover {
            opacity: 0.8;
            transform: translateY(-1px);
        }

        /* Malá ikona pro desktop */
        .logo-image {
            width: 40px;
            height: 40px;
            object-fit: contain;
            transition: all 0.3s ease;
            /* Barva odpovídající gradientu pozadí */
            /*filter: brightness(0) saturate(100%) invert(55%) sepia(95%) saturate(2066%) hue-rotate(181deg) brightness(102%) contrast(97%);*/
        }

        .logo:hover .logo-image {
            transform: scale(1.1) rotate(5deg);
        }

        /* Celé logo pro mobilní zařízení */
        .logo-full {
            display: none; /* Skryté na desktopu */
            width: 70px;
            height: auto;
            object-fit: contain;
            transition: all 0.3s ease;
        }

        .logo-text {
            font-size: 1.8rem;
            font-weight: bold;
            color: rgb(0, 0, 0);
            transition: all 0.3s ease;
        }

        /* Responzivní úpravy */
        @media (max-width: 900px) {
            .logo {
                font-size: 1.5rem;
                gap: 0.6rem;
            }
            
            .logo-image {
                width: 35px;
                height: 35px;
            }
            
            .logo-text {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .logo {
                font-size: 1.3rem;
                gap: 0.5rem;
            }
            
            .logo-image {
                width: 30px;
                height: 30px;
            }
            
            .logo-text {
                font-size: 1.3rem;
            }
        }

        /* Mobilní verze - zobrazit celé logo */
        @media (max-width: 400px) {
            /* Skrýt malou ikonu a text */
            .logo-image,
            .logo-text {
                display: none;
            }
            
            /* Zobrazit celé logo */
            .logo-full {
                display: block;
            }
            
            .logo {
                justify-content: center;
            }
            
            .logo:hover .logo-full {
                transform: scale(1.05);
                filter: brightness(0) saturate(100%) invert(65%) sepia(85%) saturate(1800%) hue-rotate(181deg) brightness(112%) contrast(107%);
            }
        }


        /*//////*/
        
        .nav-links {
            display: flex;
            list-style: none;
            gap: 1.5rem;
            align-items: center;
            height: 100%;
        }
        
        .nav-links a {
            color: rgb(0, 0, 0);
            text-decoration: none;
            transition: all 0.3s ease;
            padding: 8px 12px;
            border-radius: 20px;                    
        }

        .nav-links a:hover {
            opacity: 0.8; 
            background-color: #ffffff;        
            transform: translateY(-1px);  
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);   
        }
        
        main {
            flex: 1; /* main zabere zbytek prostoru */
            margin-top: 80px;
            padding: 2rem 0;
            padding-bottom: 5px !important;
        }
        
        .hero {
            text-align: center;
            padding: 10rem 0;
            color: white;
        }
        
        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        
        .hero p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }
        
        .cta-button {
            display: inline-block;
            background: linear-gradient(45deg, #ff6b6b, #ee5a24);
            color: white;
            padding: 1rem 2rem;
            text-decoration: none;
            border-radius: 50px;
            font-weight: bold;
            transition: transform 0.3s, box-shadow 0.3s;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }
        
        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        }

        .skip-to-other-calc {
            display: inline-block;
            background: linear-gradient(45deg, #80dba6, #239b51);
            color: white;
            padding: 1rem 2rem;
            text-decoration: none;
            border-radius: 50px;
            font-weight: bold;
            transition: transform 0.3s, box-shadow 0.3s;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }
        
        .skip-to-other-calc:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        }
        
        .section {
            background: white;
            margin: 2rem 0;
            padding: 3rem;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .section h2 {
            color: #2c3e50;
            margin-bottom: 2rem;
            font-size: 2.2rem;
            text-align: center;
        }
        
        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }
        
        .feature {
            text-align: center;
            padding: 2rem;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            border-radius: 10px;
            transition: transform 0.3s;
        }
        
        .feature:hover {
            transform: translateY(-5px);
        }
        
        .feature-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }
        
        .calculator {
            background: linear-gradient(135deg, #5c8cca 0%, #07a6ce 100%);
            color: white;
            border-radius: 15px;
            padding: 3rem;
        }
        
        .calc-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-areas: 
                "inputs results"
                "other results";
            gap: 1.5rem 3rem; /* menší gap vertikálně, větší horizontálně */
            align-items: start;
        }

        .calc-inputs {
            grid-area: inputs;
            background: rgba(255, 255, 255, 0.1);
            padding: 2rem;
            border-radius: 10px;
            backdrop-filter: blur(10px);
            z-index: 2;
        }

        .calc-results {
            grid-area: results;
            background: rgba(255, 255, 255, 0.1);
            padding: 2rem;
            border-radius: 10px;
            backdrop-filter: blur(10px);
            min-height: 300px;
        }

        .other-calc {
            grid-area: other;
            background: rgba(255, 255, 255, 0.1);
            padding: 2rem;
            border-radius: 10px;
            backdrop-filter: blur(10px);
            text-align: center;
            z-index: 1;
        }
        
        .input-group {
            margin-bottom: 1.5rem;
        }
        
        .input-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: bold;
        }
        
        .input-group input, .input-group select {
            width: 100%;
            padding: 0.8rem;
            border: none;
            border-radius: 5px;
            font-size: 1rem;
            background: rgba(255, 255, 255, 0.9);
        }
        
        .calc-button {
            background: linear-gradient(45deg, #ff6b6b, #ee5a24);
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.3s;
            width: 100%;
        }
        
        .calc-button:hover {
            transform: translateY(-2px);
        }
        
        .calc-results {
            background: rgba(255, 255, 255, 0.1);
            padding: 2rem;
            border-radius: 10px;
            backdrop-filter: blur(10px);
            min-height: 300px;
        }
        
        .result-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1rem;
            padding: 0.5rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            align-items: flex-start;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        
        .result-value {
            font-weight: bold;
            font-size: 1.1rem;
            word-break: break-word;
            overflow-wrap: break-word;
            hyphens: auto;
            text-align: right;
            flex-shrink: 0;
            max-width: 60%;
        }
        
        .chart-container {
            margin-top: 2rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: auto auto auto;
            gap: 2rem;
            min-height: 250px;
            width: 100%;
        }

        .line-chart-section {
            grid-column: 1 / -1;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            padding: 2rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            box-sizing: border-box;
            width: 100%;
        }

        .line-chart-container {
            position: relative;
            width: 100%;
            max-width: 800px;
            height: 350px;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            border: 1px solid rgba(255,255,255,0.3);
        }

        .line-chart-svg {
            width: 100%;
            height: 100%;
            overflow: visible;
        }

        .axis-line {
            stroke: #666;
            stroke-width: 2;
        }

        .grid-line {
            stroke: #e0e0e0;
            stroke-width: 0.5;
            stroke-dasharray: 2,2;
        }

        .axis-label {
            font-family: 'Segoe UI', sans-serif;
            font-size: 12px;
            fill: #666;
            text-anchor: middle;
        }

        .axis-label.y-axis {
            text-anchor: end;
        }

        .axis-title {
            font-family: 'Segoe UI', sans-serif;
            font-size: 14px;
            font-weight: bold;
            fill: #333;
            text-anchor: middle;
        }

        .investment-line {
            fill: none;
            stroke: #3498db;
            stroke-width: 3;
            filter: drop-shadow(0 2px 4px rgba(52, 152, 219, 0.3));
        }

        .profit-line {
            fill: none;
            stroke: #ff6b6b;
            stroke-width: 3;
            filter: drop-shadow(0 2px 4px rgba(255, 107, 107, 0.3));
        }

        .line-legend {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-top: 1rem;
            font-size: 14px;
            font-weight: 500;
        }

        .legend-item-line {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #ffffff;
        }

        .legend-line {
            width: 25px;
            height: 3px;
            border-radius: 2px;
        }

        .click-hint {
            text-align: center;
            margin-top: 1rem;
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
            font-style: italic;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .click-hint:hover {
            color: rgba(255, 255, 255, 1);
        }

        /* Responzivní úpravy */
        @media (max-width: 900px) {
            .line-chart-container {
                height: 300px;
                padding: 15px;
            }
            
            .line-legend {
                gap: 1rem;
                font-size: 13px;
            }
            
            .axis-label {
                font-size: 11px;
            }
            
            .axis-title {
                font-size: 13px;
            }
        }

        @media (max-width: 576px) {
            .line-chart-section {
                padding: 1.5rem;
            }
            
            .line-chart-container {
                height: 280px;
                padding: 12px;
            }
            
            .line-legend {
                flex-direction: column;
                gap: 0.8rem;
                text-align: center;
            }
            
            .axis-label {
                font-size: 10px;
            }
            
            .axis-title {
                font-size: 12px;
            }
        }
        
        .chart-section {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            padding: 1rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            box-sizing: border-box;
            width: 100%;
        }
        
        .chart-title {
            font-size: 1rem;
            font-weight: bold;
            margin: 0 0 1rem 0;
            text-align: center;
            color: rgba(255, 255, 255, 0.9);
            word-wrap: break-word;
        }
        
        .bar-chart {
            position: relative;
            height: 140px;
            width: 100%;
            display: flex;
            align-items: end;
            justify-content: center;
            gap: 20px;
            box-sizing: border-box;
            margin-bottom: 15px;
        }
        
        .chart-bar {
            position: relative;
            background: linear-gradient(to top, #ff6b6b, #ee5a24);
            border-radius: 5px 5px 0 0;
            transition: height 0.5s ease;
            min-width: 30px;
            display: flex;
            align-items: end;
            justify-content: center;
        }
        
        .bar-legend {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            font-size: 0.85rem;
            width: 100%;
            box-sizing: border-box;
        }
        
        /*.bar-legend .legend-item span {
            text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        }*/
        
        .pie-chart {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            position: relative;
            margin: 0 0 1rem 0;
            flex-shrink: 0;
        }
        
        .pie-legend {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            font-size: 0.85rem;
            width: 100%;
            box-sizing: border-box;
        }
        
        .legend-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            word-wrap: break-word;
        }
        
        .legend-color {
            width: 12px;
            height: 12px;
            border-radius: 2px;
            flex-shrink: 0;
        }
        
        .chart-summary {
            margin-top: 1rem;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            font-size: 0.9rem;
            text-align: center;
            color: rgba(255, 255, 255, 0.8);
            grid-column: 1 / -1;
            word-wrap: break-word;
            line-height: 1.5;
            box-sizing: border-box;
        }
        
        footer {
            background: rgba(0, 0, 0, 0.8);
            color: white;
            text-align: center;
            padding: 3rem 0;
            margin-top: 3rem;
            z-index: 1;
        }
        
        /* Extra large screens (1440px and up) */
        @media (min-width: 1440px) {
            .container {
                max-width: 1400px;
            }
            
            .hero h1 {
                font-size: 3.5rem;
            }
            
            .hero p {
                font-size: 1.4rem;
            }
            
            .section {
                padding: 4rem;
            }
            
            .features {
                grid-template-columns: repeat(3, 1fr);
                gap: 3rem;
            }
        }
        
        /* Large screens (1024px to 1439px) */
        @media (min-width: 1024px) and (max-width: 1439px) {
            .container {
                max-width: 1100px;
            }
            
            .hero h1 {
                font-size: 3.2rem;
            }
            
            .features {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        /* Medium screens - tablets landscape (768px to 1023px) */
        @media (min-width: 768px) and (max-width: 1023px) {
            .container {
                padding: 0 15px;
                max-width: 100%;
            }
            
            main {
                margin-top: 85px;
            }
            
            .hero {
                padding: 3rem 1rem;
                margin-top: 1rem;
            }
            
            .hero h1 {
                font-size: 2.8rem;
                margin: 2rem 0 1rem 0;
            }
            
            .hero p {
                font-size: 1.1rem;
                margin: 0 0 2rem 0;
                padding: 0 1rem;
            }
            
            .section {
                padding: 2.5rem;
                margin: 1.5rem 0;
            }
            
            .features {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }
            
            .calc-grid {
                gap: 2.5rem;
            }
            
            .nav-links {
                gap: 1.5rem;
            }
            
            .chart-container {
                gap: 1.5rem;
            }
        }

        
        /* Small tablets and large phones (576px to 767px) */
        @media (min-width: 576px) and (max-width: 767px) {
            .container {
                padding: 0 15px;
                max-width: 100%;
            }
            
            main {
                margin-top: 85px;
            }
            
            .hero {
                padding: 3rem 1rem;
                margin-top: 2rem;
            }
            
            .hero h1 {
                font-size: 2.4rem;
                margin: 2rem 0 1rem 0;
                padding: 0 0.5rem;
            }
            
            .hero p {
                font-size: 1rem;
                margin: 0 0 2rem 0;
                padding: 0 1rem;
            }
            
            .section {
                padding: 2rem;
                margin: 1rem 0;
                border-radius: 12px;
            }
            
            .section h2 {
                font-size: 2rem;
                margin: 0 0 1.5rem 0;
            }
            
            .features {
                grid-template-columns: 1fr;
                gap: 1.5rem;
                margin-top: 2rem;
            }
            
            .feature {
                padding: 2rem;
            }
            
            .feature-icon {
                font-size: 2.8rem;
                margin: 0 0 1rem 0;
            }
            
            .calc-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .calculator {
                padding: 2.5rem 2rem;
            }
            
            .calc-inputs, .calc-results, .other-calc {
                padding: 2rem;
            }
            
            .input-group {
                margin-bottom: 1.2rem;
            }
            
            .input-group label {
                font-size: 1.1rem;
                margin: 0 0 0.8rem 0;
            }
            
            .input-group input, .input-group select {
                padding: 1rem;
                font-size: 1.1rem;
                border-radius: 8px;
            }
            
            .calc-button {
                padding: 1.2rem 2rem;
                font-size: 1.2rem;
                margin-top: 1rem;
            }
            
            .calc-results h3 {
                font-size: 1.4rem;
                margin: 0 0 1.5rem 0;
            }
            
            .result-item {
                padding: 1rem 0;
                font-size: 1.1rem;
                margin-bottom: 1rem;
            }
            
            .result-value {
                font-size: 1.2rem;
                max-width: 60%;
            }
            
            .chart-container {
                grid-template-columns: 1fr;
                gap: 1.5rem;
                margin-top: 2rem;
            }
            
            .chart-section {
                padding: 1.5rem;
            }
            
            .nav-links {
                display: flex;
                gap: 1rem;
                font-size: 0.9rem;
            }
        }
        
        /* Mobile phones (up to 575px) */
        @media (max-width: 1149px) {
            .container {
                padding: 0 15px;
                max-width: 100%;
            }
            
            main {
                margin-top: 80px;
                padding: 1.5rem 0;
            }
            
            .hero {
                padding: 2.5rem 1rem;
                margin-top: 1.5rem;
            }
            
            .hero h1 {
                font-size: 2rem;
                line-height: 1.2;
                margin: 2rem 0 1rem 0;
                padding: 0 0.5rem;
                word-wrap: break-word;
            }
            
            .hero p {
                font-size: 0.95rem;
                margin: 0 0 1.5rem 0;
                padding: 0 0.5rem;
                word-wrap: break-word;
            }
            
            .cta-button {
                padding: 0.8rem 1.5rem;
                font-size: 0.9rem;
                margin: 0 0.5rem;
            }
            
            .section {
                padding: 1.5rem;
                margin: 1rem 0;
                border-radius: 10px;
            }
            
            .section h2 {
                font-size: 1.8rem;
                margin: 0 0 1.5rem 0;
                word-wrap: break-word;
            }
            
            .features {
                grid-template-columns: 1fr;
                gap: 1rem;
                margin-top: 1.5rem;
            }
            
            .feature {
                padding: 1.5rem;
            }
            
            .feature-icon {
                font-size: 2.5rem;
                margin: 0 0 1rem 0;
            }
            
            .feature h3 {
                margin: 0.5rem 0 1rem 0;
                font-size: 1.2rem;
            }
            
            .feature p {
                font-size: 0.95rem;
                line-height: 1.5;
            }
            
            .calc-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .calculator {
                padding: 2rem 1.5rem;
            }
            
            .calculator h2 {
                font-size: 1.8rem;
                margin: 0 0 2rem 0;
            }
            
            .calc-inputs, .calc-results, .other-calc {
                padding: 1.8rem 1.2rem;
            }
            
            .input-group {
                margin-bottom: 1.5rem;
            }
            
            .input-group:last-of-type {
                margin-bottom: 2rem;
            }
            
            .input-group label {
                font-size: 1.1rem;
                margin: 0 0 0.8rem 0;
                font-weight: bold;
                color: white;
                text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
            }
            
            .input-group input, .input-group select {
                padding: 1rem;
                font-size: 1.1rem;
                border-radius: 8px;
                font-weight: 500;
            }
            
            .calc-button {
                padding: 1.2rem 2rem;
                font-size: 1.2rem;
                margin-top: 0;
                border-radius: 12px;
            }
            
            .calc-results h3 {
                font-size: 1.4rem;
                margin: 0 0 1.5rem 0;
                text-align: center;
            }
            
            .result-item {
                padding: 1rem 0;
                font-size: 1.1rem;
                border-bottom: 2px solid rgba(255, 255, 255, 0.3);
                margin-bottom: 1rem;
                display: flex;
                flex-direction: column;
                gap: 0.5rem;
                align-items: flex-start;
            }
            
            .result-item span:first-child {
                font-weight: normal;
                opacity: 0.9;
                font-size: 1rem;
                text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
            }
            
            .result-value {
                font-size: 1.5rem;
                font-weight: bold;
                word-break: break-word;
                overflow-wrap: break-word;
                hyphens: auto;
                text-align: left;
                line-height: 1.2;
                max-width: 100%;
                text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
            }
            
            .chart-container {
                height: auto;
                margin-top: 1.5rem;
                grid-template-columns: 1fr;
                gap: 1.5rem;
                min-height: auto;
            }
            
            .chart-section {
                padding: 1.5rem;
            }
            
            .pie-chart {
                width: 100px;
                height: 100px;
            }
            
            .chart-title {
                font-size: 1.1rem;
                margin: 0 0 1rem 0;
            }
            
            .bar-chart {
                height: 120px;
                margin-bottom: 15px;
                gap: 15px;
            }
            
            .chart-bar {
                min-width: 25px;
            }
            
            .bar-legend {
                font-size: 0.8rem;
            }
            
            .chart-summary {
                font-size: 1rem;
                padding: 1.2rem;
                line-height: 1.4;
                margin-top: 1rem;
            }
            
            .nav-links {
                display: none;
            }
            
            nav {
                padding: 0;
            }
            
            .logo {
                font-size: 1.5rem;
            }
            
            header {
                padding: 0.8rem 0;
            }
        }
        
        /* Extra small phones (up to 374px) */
        @media (max-width: 374px) {
            .container {
                padding: 0 10px;
            }
            
            main {
                padding: 1rem 0;
                margin-top: 75px;
            }
            
            .hero {
                padding: 2rem 0.5rem;
                margin-top: 1.5rem;
            }
            
            .hero h1 {
                font-size: 1.7rem;
                padding: 0 0.25rem;
            }
            
            .hero p {
                font-size: 0.9rem;
                padding: 0 0.25rem;
            }
            
            .cta-button {
                margin: 0 0.25rem;
            }
            
            .section {
                padding: 1rem;
                margin: 0.5rem 0;
            }
            
            .section h2 {
                font-size: 1.6rem;
            }
            
            .feature {
                padding: 1rem;
            }
            
            .feature-icon {
                font-size: 2.2rem;
            }
            
            .calculator {
                padding: 1.5rem 1rem;
            }
            
            .calculator h2 {
                font-size: 1.6rem;
                margin: 0 0 1.5rem 0;
            }
            
            .calc-inputs, .calc-results, .other-calc {
                padding: 1.5rem 1rem;
            }
            
            .input-group {
                margin-bottom: 1.2rem;
            }
            
            .input-group label {
                font-size: 1rem;
                margin: 0 0 0.6rem 0;
                color: white;
                text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
            }
            
            .input-group input, .input-group select {
                padding: 0.9rem;
                font-size: 1rem;
            }
            
            .calc-button {
                padding: 1rem 1.5rem;
                font-size: 1.1rem;
            }
            
            .calc-results h3 {
                font-size: 1.3rem;
                margin: 0 0 1.2rem 0;
            }
            
            .result-item {
                font-size: 1rem;
                padding: 0.8rem 0;
            }
            
            .result-item span:first-child {
                font-size: 0.95rem;
                text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
            }
            
            .result-value {
                font-size: 1.3rem;
                word-break: break-all;
                overflow-wrap: anywhere;
                text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
            }
            
            .chart-container {
                margin-top: 1rem;
                gap: 1rem;
            }
            
            .chart-section {
                padding: 1rem;
            }
            
            .pie-chart {
                width: 80px;
                height: 80px;
            }
            
            .chart-title {
                font-size: 1rem;
                margin: 0 0 0.8rem 0;
            }
            
            .bar-chart {
                height: 100px;
                margin-bottom: 15px;
                gap: 12px;
            }
            
            .chart-bar {
                min-width: 22px;
            }
            
            .bar-legend {
                font-size: 0.75rem;
            }
            
            .pie-legend {
                font-size: 0.8rem;
            }
            
            .chart-summary {
                font-size: 0.9rem;
                padding: 1rem;
                line-height: 1.3;
            }
            
            .logo {
                font-size: 1.3rem;
            }
        }
        
        /* Height-specific adjustments for landscape orientation */
        @media (max-height: 500px) and (orientation: landscape) {
            .hero {
                padding: 1.5rem 0;
            }
            
            .hero h1 {
                font-size: 2rem;
            }
            
            .section {
                padding: 1.5rem;
                margin: 1rem 0;
            }
            
            .calc-grid {
                gap: 1.5rem;
            }
        }
        
        /* High DPI displays */
        @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
            body {
                -webkit-font-smoothing: antialiased;
                -moz-osx-font-smoothing: grayscale;
            }
        }




    .feature {
        text-align: center;
        padding: 2rem;
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        border-radius: 10px;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        cursor: pointer;
        position: relative;
        overflow: hidden;
        border: 2px solid transparent;
    }

    .feature:hover {
        transform: translateY(-8px) scale(1.03);
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        background: linear-gradient(135deg, #5c8cca 0%, #07a6ce 100%);
        color: white;
        border-color: rgba(255,255,255,0.2);
    }

    .feature::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .feature:hover::before {
        left: 100%;
    }

    .feature-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
        transition: transform 0.4s ease;
        display: block;
    }

    .feature:hover .feature-icon {
        transform: scale(1.2) rotate(5deg);
        filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
    }

    .feature h3 {
        margin-bottom: 1rem;
        transition: all 0.3s ease;
    }

    .feature p {
        transition: all 0.3s ease;
        margin-bottom: 0;
    }

    /* Klikací indikátor */
    .click-indicator {
        position: absolute;
        bottom: 15px;
        right: 15px;
        background: rgba(0,0,0,0.7);
        color: white;
        padding: 6px 12px;
        border-radius: 15px;
        font-size: 0.75rem;
        font-weight: 500;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .feature:hover .click-indicator {
        opacity: 1;
        transform: translateY(0);
    }

    /* Modal overlay */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(8px);
        z-index: 2000;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Modal content */
    .modal-content {
        background: linear-gradient(135deg, #5c8cca   0%, #07a6ce 100%);
        border-radius: 20px;
        padding: 3rem;
        max-width: 650px;
        width: 100%;
        max-height: 85vh;
        overflow-y: auto;
        color: white;
        position: relative;
        transform: scale(0.7) translateY(50px) rotateX(15deg);
        transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 0 30px 70px rgba(0,0,0,0.4);
        border: 1px solid rgba(255,255,255,0.1);
    }

    .modal-overlay.active .modal-content {
        transform: scale(1) translateY(0) rotateX(0deg);
    }

    /* Modal close button */
    .modal-close {
        position: absolute;
        top: 20px;
        right: 25px;
        background: rgba(255,255,255,0.2);
        border: none;
        color: white;
        font-size: 1.8rem;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        font-weight: 300;
        line-height: 1;
        z-index: 2001;  
        outline: none;
    }

    .modal-close:hover {
        background: rgba(255,0,0,0.6);
        transform: rotate(90deg) scale(1.1);
    }

    .modal-close:focus {
        background: rgba(255,255,255,0.3);
        outline: 2px solid rgba(255,255,255,0.5);
    }

    /* Modal header */
    .modal-header {
        text-align: center;
        margin-bottom: 2.5rem;
    }

    .modal-icon {
        font-size: 4.5rem;
        margin-bottom: 1rem;
        display: block;
        animation: modalFloat 4s ease-in-out infinite;
        filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    }

    @keyframes modalFloat {
        0%, 100% { transform: translateY(0px) rotate(0deg); }
        25% { transform: translateY(-8px) rotate(2deg); }
        50% { transform: translateY(-5px) rotate(-1deg); }
        75% { transform: translateY(-10px) rotate(1deg); }
    }

    .modal-title {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
        font-weight: 700;
    }

    .modal-subtitle {
        font-size: 1.2rem;
        opacity: 0.9;
        margin-bottom: 0;
        font-weight: 300;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    }

    /* Modal body */
    .modal-body {
        line-height: 1.7;
        font-size: 1.1rem;
    }

    .modal-section {
        margin-bottom: 2.5rem;
        padding: 2rem;
        background: rgba(255,255,255,0.12);
        border-radius: 15px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.1);
        transition: transform 0.3s ease;
    }

    .modal-section:hover {
        transform: translateY(-2px);
    }

    .modal-section h4 {
        color: #FFE66D;
        margin-bottom: 1.2rem;
        font-size: 1.4rem;
        font-weight: 600;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    }

    .modal-section p {
        margin-bottom: 1rem;
        opacity: 0.95;
    }

    .tips-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .tips-list li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        position: relative;
        padding-left: 2.5rem;
        transition: all 0.3s ease;
    }

    .tips-list li:before {
        content: '✨';
        position: absolute;
        left: 0;
        top: 1rem;
        font-size: 1.2rem;
        animation: sparkle 2s ease-in-out infinite;
    }

    @keyframes sparkle {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.7; transform: scale(1.1); }
    }

    .tips-list li:last-child {
        border-bottom: none;
    }

    .tips-list li:hover {
        padding-left: 3rem;
        background: rgba(255,255,255,0.05);
        border-radius: 8px;
    }

    /* Scrollbar styling */
    .modal-content::-webkit-scrollbar {
        width: 10px;
    }

    .modal-content::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.1);
        border-radius: 10px;
    }

    .modal-content::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.3);
        border-radius: 10px;
        border: 2px solid transparent;
        background-clip: content-box;
    }

    .modal-content::-webkit-scrollbar-thumb:hover {
        background: rgba(255,255,255,0.5);
        background-clip: content-box;
    }

    /* Responzivní úpravy pro modal */
    @media (max-width: 768px) {
        .modal-content {
            padding: 2rem;
            margin: 15px;
            max-height: 90vh;
            border-radius: 15px;
        }
        
        .modal-icon {
            font-size: 3.5rem;
        }
        
        .modal-title {
            font-size: 2rem;
        }
        
        .modal-subtitle {
            font-size: 1rem;
        }
        
        .modal-body {
            font-size: 1rem;
        }
        
        .modal-section {
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .modal-section h4 {
            font-size: 1.2rem;
        }
        
        .click-indicator {
            font-size: 0.7rem;
            padding: 4px 8px;
            bottom: 10px;
            right: 10px;
        }
    }

    @media (max-width: 480px) {
        .modal-content {
            padding: 1.5rem;
            margin: 10px;
        }
        
        .modal-close {
            top: 15px;
            right: 20px;
            width: 35px;
            height: 35px;
            font-size: 1.5rem;
        }
        
        .modal-header {
            margin-bottom: 2rem;
        }
        
        .tips-list li {
            padding: 0.8rem 0;
            padding-left: 2rem;
            font-size: 0.95rem;
        }
    }




    /* === MODAL PRO ZVĚTŠENÍ GRAFU === */
        .chart-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(8px);
            z-index: 3000;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .chart-modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .chart-modal-content {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            max-width: 95vw;
            max-height: 90vh;
            width: 1200px;
            position: relative;
            transform: scale(0.7) translateY(50px);
            transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: 0 30px 70px rgba(0,0,0,0.5);
            border: 1px solid rgba(255,255,255,0.1);
            overflow: hidden;
        }

        .chart-modal-overlay.active .chart-modal-content {
            transform: scale(1) translateY(0);
        }

        .chart-modal-close {
            position: absolute;
            top: 20px;
            right: 25px;
            background: rgba(0,0,0,0.1);
            border: none;
            color: #333;
            font-size: 2rem;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            font-weight: 300;
            line-height: 1;
            z-index: 3001;
            outline: none;
        }

        .chart-modal-close:hover {
            background: rgba(255,0,0,0.1);
            color: #ff4444;
            transform: rotate(90deg) scale(1.1);
        }

        .chart-modal-title {
            text-align: center;
            margin-bottom: 2rem;
            font-size: 1.8rem;
            font-weight: bold;
            color: #333;
            padding-top: 25px;
        }

        .chart-modal-graph {
            width: 100%;
            height: 500px;
            background: rgba(248,249,250,0.8);
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        /* Responzivní úpravy */
        @media (max-width: 768px) {
            .chart-modal-content {
                padding: 1.5rem;
                width: 95%;
                max-height: 85vh;
            }
            
            .chart-modal-graph {
                height: 350px;
                padding: 15px;
            }
            
            .chart-modal-title {
                font-size: 1.4rem;
                margin-bottom: 1.5rem;
            }
            
            .chart-modal-close {
                top: 15px;
                right: 20px;
                width: 40px;
                height: 40px;
                font-size: 1.5rem;
            }
        }

        .line-chart-container {
            cursor: pointer;
        }

        .line-chart-container:hover {
            transform: scale(1.02);
            transition: transform 0.3s ease;
        }

        .button-article {
            text-align: center;
        }

        .button-to-article {
            display: inline-block;
            background: linear-gradient(45deg, #ff6b6b, #ee5a24);
            color: white;
            padding: 1rem 2rem;
            text-decoration: none;
            border-radius: 50px;
            font-weight: bold;
            transition: transform 0.3s, box-shadow 0.3s;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            margin-top: 30px;   
        }

        .button-to-article:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        }



        /* === DROPDOWN MENU KALKULAČEK === */
        .calculators-dropdown {
            position: relative;
            display: inline-block;
        }

        .calculators-trigger {
            display: flex;
            align-items: center;
            gap: 8px;
            color: rgb(0, 0, 0);
            text-decoration: none;
            transition: all 0.3s ease;
            padding: 8px 12px;
            border-radius: 20px;
            position: relative;
        }

        .calculators-trigger:hover {
            opacity: 0.8; 
            background-color: #ffffff;        
            transform: translateY(-1px);  
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .dropdown-arrow {
            font-size: 12px;
            transition: transform 0.3s ease;
            color: #000000;
        }

        .calculators-dropdown:hover .dropdown-arrow {
            transform: rotate(180deg);
        }

        /* DROPDOWN MENU */
        .calculators-menu {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            background: white;
            min-width: 220px;
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px) scale(0.95);
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            z-index: 1000;
            overflow: hidden;
            border: 1px solid rgba(0,0,0,0.05);
        }

        .calculators-dropdown:hover .calculators-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }

        .calculator-option {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            text-decoration: none;
            color: #333;
            transition: all 0.2s ease;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            font-size: 14px;
        }

        .calculator-option:last-child {
            border-bottom: none;
        }

        .calculator-option:hover {
            background: rgba(0, 123, 255, 0.08);
            color: #007bff;
            padding-left: 20px;
        }

        .calculator-icon {
            font-size: 18px;
            flex-shrink: 0;
        }

        .calculator-info {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .calculator-name {
            font-weight: 500;
            line-height: 1.2;
        }

        .calculator-desc {
            font-size: 12px;
            color: #666;
            line-height: 1;
        }

        /* MOBILNÍ VERZE */
        .mobile-calculators-dropdown {
            margin-top: 1rem;
        }

        .mobile-calculators-trigger {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #333;
            text-decoration: none;
            font-size: 1.1rem;
            font-weight: 500;
            padding: 1rem;
            border-radius: 8px;
            transition: 0.3s;
            text-align: center;
            width: 100%;
            justify-content: center;
            position: relative;
        }

        .mobile-calculators-trigger:hover {
            background: rgba(0, 123, 255, 0.1);
            color: #007bff;
        }

        .mobile-calculators-menu {
            margin-top: 0.5rem;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 12px;
            overflow: hidden;
            max-height: 0;
            opacity: 0;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        .mobile-calculators-menu.active {
            max-height: 400px;
            opacity: 1;
        }

        .mobile-calculator-option {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            text-decoration: none;
            color: #333;
            transition: background-color 0.2s ease;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            font-size: 14px;
        }

        .mobile-calculator-option:last-child {
            border-bottom: none;
        }

        .mobile-calculator-option:hover {
            background: rgba(0, 123, 255, 0.1);
        }

        /* RESPONZIVNÍ PRAVIDLA */
        /* MOBILNÍ VERZE - BEZ DROPDOWN */
        @media (min-width: 1150px) {
            .mobile-calculators-dropdown {
                display: none;
            }
        }

        @media (max-width: 1149px) {
            .calculators-dropdown {
                display: none;
            }
            
            /* Odstranit všechny mobilní dropdown styly */
            .mobile-calculators-dropdown,
            .mobile-calculators-trigger,
            .mobile-calculators-menu,
            .mobile-calculator-option {
                display: none !important;
            }
        }


        .icon {
            width: 2.5rem;
            margin-bottom: 15px;
        }

        .icons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            align-items: center;
        }

        #calculators-choise a {
            text-decoration: none;
            color: black;  
        }

        .calculators-menu-icons {
                text-align: center;
                padding: 2rem;
                background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
                border-radius: 10px;
                transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
                cursor: pointer;
                position: relative;
                overflow: hidden;
                border: 2px solid transparent;
                height: 20rem;
        }

        .calculators-menu-icons  h3 {
            margin: 0.5rem 0 1rem 0;
            font-size: 1.2rem;
        }

        .calculators-menu-icons:hover {
            transform: translateY(-8px) scale(1.03);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
            background: linear-gradient(135deg, #5c8cca 0%, #07a6ce 100%);
            color: white;
            border-color: rgba(255,255,255,0.2);
        }





        #articles-choise {
            text-align: center;
        }




        /* === STYLY PRO STRÁNKU ODKAZY === */

        /* Social sítě grid */
        .social-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .social-card {
            text-align: center;
            padding: 3rem 2rem;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            border-radius: 15px;
            text-decoration: none;
            color: #333;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            cursor: pointer;
            position: relative;
            overflow: hidden;
            border: 2px solid transparent;
            display: block;
        }

        .social-card:hover {
            transform: translateY(-8px) scale(1.03);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
            background: linear-gradient(135deg, #5c8cca 0%, #07a6ce 100%);
            color: white;
            border-color: rgba(255,255,255,0.2);
        }

        .social-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .social-card:hover::before {
            left: 100%;
        }

        .social-icon {
            width: 4rem;
            height: 4rem;
            margin-bottom: 1.5rem;
            transition: all 0.4s ease;
            filter: invert(0);
        }

        .social-card:hover .social-icon {
            transform: scale(1.2) rotate(5deg);
            filter: invert(1) drop-shadow(0 5px 15px rgba(0,0,0,0.3));
        }

        .social-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            font-weight: bold;
            transition: all 0.3s ease;
        }

        .social-card p {
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 1rem;
            opacity: 0.8;
            transition: all 0.3s ease;
        }

        .social-card:hover p {
            opacity: 1;
        }

        .social-handle {
            font-size: 0.9rem;
            font-weight: bold;
            color: #007bff;
            background: rgba(255,255,255,0.2);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            display: inline-block;
            transition: all 0.3s ease;
        }

        .social-card:hover .social-handle {
            background: rgba(255,255,255,0.3);
            color: white;
        }

        /* Links grid */
        .links-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .link-category {
            background: rgba(255,255,255,0.6);
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            border: 1px solid rgba(255,255,255,0.3);
        }

        .link-category:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.12);
            background: rgba(255,255,255,0.8);
        }

        .link-category h3 {
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
            color: #2c3e50;
            font-weight: bold;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid rgba(0, 123, 255, 0.2);
        }

        .links-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .links-list li {
            margin-bottom: 0.8rem;
            padding-left: 1.5rem;
            position: relative;
        }

        .links-list li::before {
            content: '→';
            position: absolute;
            left: 0;
            color: #007bff;
            font-weight: bold;
            transition: all 0.3s ease;
        }

        .links-list li:hover::before {
            transform: translateX(3px);
        }

        .links-list a {
            color: #333;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            padding: 0.3rem 0;
            display: block;
            border-radius: 5px;
        }

        .links-list a:hover {
            color: #007bff;
            padding-left: 0.5rem;
            background: rgba(0, 123, 255, 0.05);
        }

        /* Newsletter sekce */
        .newsletter-form {
            display: flex;
            gap: 1rem;
            justify-content: center;
            align-items: center;
            margin-top: 2rem;
            flex-wrap: wrap;
        }

        .email-input {
            padding: 1rem 1.5rem;
            border: none;
            border-radius: 25px;
            font-size: 1rem;
            min-width: 300px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            outline: none;
            transition: all 0.3s ease;
        }

        .email-input:focus {
            box-shadow: 0 6px 20px rgba(0,0,0,0.15);
            transform: translateY(-2px);
        }

        .subscribe-btn {
            padding: 1rem 2rem;
            background: linear-gradient(45deg, #ff6b6b, #ee5a24);
            color: white;
            border: none;
            border-radius: 25px;
            font-size: 1rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        .subscribe-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        }

        /* Footer fix - konzistentní s hlavní stránkou */
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        main {
            flex: 1;
            margin-top: 80px;
            padding: 2rem 0;
        }

        /* Zajištění konzistentní šířky s hlavní stránkou */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            width: 100%;
        }

        .section {
            background: white;
            margin: 2rem 0;
            padding: 3rem;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            width: 100%;
            box-sizing: border-box;
        }

        .hero {
            text-align: center;
            padding: 10rem 0;
            color: white;
            width: 100%;
        }

        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .hero p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        .section h2 {
            color: #2c3e50;
            margin-bottom: 2rem;
            font-size: 2.2rem;
            text-align: center;
        }

        /* Responzivní úpravy - konzistentní s hlavní stránkou */
        @media (max-width: 768px) {
            .container {
                padding: 0 15px;
                max-width: 100%;
            }
            
            main {
                margin-top: 85px;
            }
            
            .hero {
                padding: 3rem 1rem;
                margin-top: 1rem;
            }
            
            .hero h1 {
                font-size: 2.8rem;
                margin: 2rem 0 1rem 0;
            }
            
            .hero p {
                font-size: 1.1rem;
                margin: 0 0 2rem 0;
                padding: 0 1rem;
            }
            
            .section {
                padding: 2.5rem;
                margin: 1.5rem 0;
            }
            
            .social-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .social-card {
                padding: 2rem 1.5rem;
            }
            
            .social-icon {
                width: 3rem;
                height: 3rem;
                margin-bottom: 1rem;
            }
            
            .social-card h3 {
                font-size: 1.3rem;
            }
            
            .links-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .link-category {
                padding: 1.5rem;
            }
            
            .newsletter-form {
                flex-direction: column;
                gap: 1rem;
            }
            
            .email-input {
                min-width: 100%;
                max-width: 400px;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }
            
            main {
                margin-top: 80px;
                padding: 1.5rem 0;
            }
            
            .hero {
                padding: 2.5rem 1rem;
                margin-top: 1.5rem;
            }
            
            .hero h1 {
                font-size: 2rem;
                line-height: 1.2;
                margin: 2rem 0 1rem 0;
                padding: 0 0.5rem;
            }
            
            .hero p {
                font-size: 0.95rem;
                margin: 0 0 1.5rem 0;
                padding: 0 0.5rem;
            }
            
            .section {
                padding: 1.5rem;
                margin: 1rem 0;
                border-radius: 10px;
            }
            
            .section h2 {
                font-size: 1.8rem;
                margin: 0 0 1.5rem 0;
            }
            
            .social-card {
                padding: 1.5rem 1rem;
            }
            
            .link-category {
                padding: 1.5rem 1rem;
            }
            
            .link-category h3 {
                font-size: 1.1rem;
            }
            
            .links-list a {
                font-size: 0.9rem;
            }
        }

        #more-calculators-cta {
            text-align: center;
        }

        #more-calculators-cta h2 {
            color: white;
            margin-bottom: 1.5rem;
            font-size: 2.2rem;
        }

        #more-calculators-cta p {
            font-size: 1.1rem;
            margin-bottom: 2rem;
            opacity: 0.95;
            line-height: 1.6;
        }

        /* CTA tlačítka (možná už jsou v CSS) */
        .cta-buttons {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            align-items: center;
            margin-top: 2rem;
            flex-wrap: wrap;
        }

        .cta-button {
            background: linear-gradient(45deg, #ff6b6b, #ee5a24);
            color: white;
            padding: 1rem 2rem;
            text-decoration: none;
            border-radius: 25px;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            font-size: 1rem;
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        }

        .cta-button-secondary {
            background: rgba(255,255,255,0.2);
            color: white;
            padding: 1rem 2rem;
            text-decoration: none;
            border-radius: 25px;
            font-weight: bold;
            transition: all 0.3s ease;
            border: 2px solid rgba(255,255,255,0.3);
            font-size: 1rem;
        }

        .cta-button-secondary:hover {
            background: rgba(255,255,255,0.3);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.2);
        }

        /* Responzivní úpravy pro CTA sekci */
        @media (max-width: 768px) {
            #more-calculators-cta h2 {
                font-size: 2rem;
            }
            
            #more-calculators-cta p {
                font-size: 1rem;
                padding: 0 1rem;
            }
            
            .cta-buttons {
                flex-direction: column;
                gap: 1rem;
            }
            
            .cta-button,
            .cta-button-secondary {
                width: 100%;
                max-width: 300px;
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            #more-calculators-cta h2 {
                font-size: 1.8rem;
                margin-bottom: 1rem;
            }
            
            #more-calculators-cta p {
                font-size: 0.95rem;
            }
        }


        /**/
        /* === STYLY PRO STRÁNKU O NÁS === */

        /* Týmový grid */
        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
            gap: 3rem;
            margin-top: 3rem;
        }

        /* Týmové karty */
        .team-card {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 20px;
            padding: 3rem;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            cursor: pointer;
            position: relative;
            overflow: hidden;
            border: 2px solid transparent;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }

        .team-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 25px 50px rgba(0,0,0,0.2);
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            border-color: rgba(92, 140, 202, 0.3);
        }

        .team-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(92, 140, 202, 0.1), transparent);
            transition: left 0.6s;
        }

        .team-card:hover::before {
            left: 100%;
        }

        /* Avatar sekce */
        .team-avatar {
            text-align: center;
            margin-bottom: 2rem;
        }

        .avatar-placeholder {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: linear-gradient(135deg, #5c8cca 0%, #07a6ce 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            margin: 0 auto;
            transition: all 0.4s ease;
            box-shadow: 0 8px 25px rgba(92, 140, 202, 0.3);
        }

        .team-card:hover .avatar-placeholder {
            transform: scale(1.1) rotate(5deg);
            box-shadow: 0 15px 35px rgba(92, 140, 202, 0.4);
        }

        .team-avatar img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid white;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            transition: all 0.4s ease;
        }

        .team-card:hover .team-avatar img {
            transform: scale(1.1);
            box-shadow: 0 15px 35px rgba(0,0,0,0.25);
        }

        /* Informace o členu týmu */
        .team-info h3 {
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
            color: #2c3e50;
            font-weight: bold;
            text-align: center;
        }

        .team-info h4 {
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            color: #5c8cca;
            font-weight: 600;
            text-align: center;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .team-info p {
            font-size: 1rem;
            line-height: 1.7;
            color: #555;
            margin-bottom: 2rem;
            text-align: left;
        }

        /* Skills tagy */
        .team-skills {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            margin-bottom: 2rem;
            justify-content: center;
        }

        .skill {
            background: linear-gradient(135deg, #5c8cca 0%, #07a6ce 100%);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            box-shadow: 0 4px 15px rgba(92, 140, 202, 0.3);
            transition: all 0.3s ease;
        }

        .skill:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(92, 140, 202, 0.4);
        }

        /* Kontaktní tlačítka */
        .team-contact {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .contact-btn {
            background: rgba(92, 140, 202, 0.1);
            color: #5c8cca;
            padding: 0.8rem 1.5rem;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            border: 2px solid rgba(92, 140, 202, 0.2);
            font-size: 0.9rem;
        }

        .contact-btn:hover {
            background: #5c8cca;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(92, 140, 202, 0.3);
        }

        /* Mission sekce */
        .mission-content {
            display: grid;
            /*grid-template-columns: 2fr 1fr;*/
            gap: 4rem;
            align-items: start;
            margin-top: 2rem;
        }

        .mission-text h3 {
            color: #2c3e50;
            margin: 2rem 0 1rem 0;
            font-size: 1.3rem;
        }

        .mission-text h3:first-child {
            margin-top: 0;
        }

        .mission-text p {
            line-height: 1.7;
            margin-bottom: 1.5rem;
            color: #555;
        }

        /* Statistiky */
        .mission-stats {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .stat-item {
            text-align: center;
            padding: 2rem;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 15px;
            transition: all 0.3s ease;
            border: 2px solid rgba(92, 140, 202, 0.1);
        }

        .stat-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
            background: linear-gradient(135deg, #5c8cca 0%, #07a6ce 100%);
            color: white;
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: bold;
            color: #5c8cca;
            margin-bottom: 0.5rem;
            transition: color 0.3s ease;
        }

        .stat-item:hover .stat-number {
            color: white;
        }

        .stat-label {
            font-size: 0.9rem;
            font-weight: 500;
            color: #666;
            transition: color 0.3s ease;
        }

        .stat-item:hover .stat-label {
            color: rgba(255,255,255,0.9);
        }

        /* CTA tlačítka */
        .cta-buttons {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            align-items: center;
            margin-top: 2rem;
            flex-wrap: wrap;
        }

        .cta-button {
            background: linear-gradient(45deg, #ff6b6b, #ee5a24);
            color: white;
            padding: 1rem 2rem;
            text-decoration: none;
            border-radius: 25px;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            font-size: 1rem;
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        }

        .cta-button-secondary {
            background: rgba(255,255,255,0.2);
            color: white;
            padding: 1rem 2rem;
            text-decoration: none;
            border-radius: 25px;
            font-weight: bold;
            transition: all 0.3s ease;
            border: 2px solid rgba(255,255,255,0.3);
            font-size: 1rem;
        }

        .cta-button-secondary:hover {
            background: rgba(255,255,255,0.3);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.2);
        }

        /* Konzistentní footer a layout */
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        main {
            flex: 1;
            margin-top: 80px;
            padding: 2rem 0;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            width: 100%;
        }

        .section {
            background: white;
            margin: 2rem 0;
            padding: 3rem;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            width: 100%;
            box-sizing: border-box;
        }

        .hero {
            text-align: center;
            padding: 10rem 0;
            color: white;
            width: 100%;
        }

        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .hero p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        .section h2 {
            color: #2c3e50;
            margin-bottom: 2rem;
            font-size: 2.2rem;
            text-align: center;
        }

        /* Responzivní úpravy */
        @media (max-width: 768px) {
            .container {
                padding: 0 15px;
                max-width: 100%;
            }
            
            main {
                margin-top: 85px;
            }
            
            .hero {
                padding: 3rem 1rem;
                margin-top: 1rem;
            }
            
            .hero h1 {
                font-size: 2.8rem;
                margin: 2rem 0 1rem 0;
            }
            
            .hero p {
                font-size: 1.1rem;
                margin: 0 0 2rem 0;
                padding: 0 1rem;
            }
            
            .section {
                padding: 2.5rem;
                margin: 1.5rem 0;
            }
            
            .team-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .team-card {
                padding: 2rem;
            }
            
            .avatar-placeholder {
                width: 100px;
                height: 100px;
                font-size: 2.5rem;
            }
            
            .team-avatar img {
                width: 100px;
                height: 100px;
            }
            
            .team-info h3 {
                font-size: 1.5rem;
            }
            
            .team-skills {
                gap: 0.5rem;
            }
            
            .skill {
                padding: 0.4rem 0.8rem;
                font-size: 0.8rem;
            }
            
            .contact-btn {
                padding: 0.7rem 1.2rem;
                font-size: 0.85rem;
            }
            
            .mission-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .mission-stats {
                flex-direction: row;
                flex-wrap: wrap;
                gap: 1rem;
            }
            
            .stat-item {
                flex: 1;
                min-width: 120px;
                padding: 1.5rem 1rem;
            }
            
            .stat-number {
                font-size: 2rem;
            }
            
            .cta-buttons {
                flex-direction: column;
                gap: 1rem;
            }
            
            .cta-button,
            .cta-button-secondary {
                width: 100%;
                max-width: 300px;
                text-align: center;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }
            
            main {
                margin-top: 100px;
                padding: 1.5rem 0;
            }
            
            .hero {
                padding: 4.5rem 1rem;
                margin-top: 1.5rem;
            }
            
            .hero h1 {
                font-size: 2rem;
                line-height: 1.2;
                margin: 2rem 0 1rem 0;
                padding: 0 0.5rem;
            }
            
            .hero p {
                font-size: 0.95rem;
                margin: 0 0 1.5rem 0;
                padding: 0 0.5rem;
            }
            
            .section {
                padding: 1.5rem;
                margin: 1rem 0;
                border-radius: 10px;
            }
            
            .section h2 {
                font-size: 1.8rem;
                margin: 0 0 1.5rem 0;
            }
            
            .team-card {
                padding: 1.5rem;
            }
            
            .avatar-placeholder {
                width: 80px;
                height: 80px;
                font-size: 2rem;
            }
            
            .team-avatar img {
                width: 80px;
                height: 80px;
            }
            
            .team-info h3 {
                font-size: 1.3rem;
            }
            
            .team-info h4 {
                font-size: 1rem;
            }
            
            .team-info p {
                font-size: 0.95rem;
            }
            
            .mission-stats {
                flex-direction: column;
                gap: 1rem;
            }
            
            .stat-item {
                padding: 1.2rem;
            }
            
            .stat-number {
                font-size: 1.8rem;
            }
            
            .stat-label {
                font-size: 0.85rem;
            }
        }


        #contact-cta {
            text-align: center;
        }

        #mission {
            text-align: center;
        }



        .other-calc h3 {
            color: white;
            margin-bottom: 1rem;
            font-size: 1.4rem;
        }

        .other-calc p {
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 1.5rem;
            font-size: 1rem;
            line-height: 1.5;
        }

        .calc-preview-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
            margin: 1.5rem 0;
        }

        .calc-preview-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            background: rgba(255, 255, 255, 0.1);
            padding: 1rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            text-align: left;
        }

        .calc-preview-item:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }

        .calc-preview-icon {
            font-size: 2rem;
            flex-shrink: 0;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 50%;
        }

        .calc-preview-info {
            flex: 1;
            color: white;
        }

        .calc-preview-info strong {
            display: block;
            font-size: 1rem;
            margin-bottom: 0.2rem;
            font-weight: bold;
        }

        .calc-preview-info span {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.7);
        }

        .skip-to-other-calc {
            display: inline-block;
            background: linear-gradient(45deg, #ff6b6b, #ee5a24);
            color: white;
            padding: 1rem 2rem;
            text-decoration: none;
            border-radius: 25px;
            font-weight: bold;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            font-size: 0.95rem;
            margin-top: 1rem;
        }

        .skip-to-other-calc:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        }

        /* RESPONSIVNÍ ÚPRAVY */

        /* Tablety (768px to 1023px) */
        @media (min-width: 768px) and (max-width: 1023px) {
            .calc-grid {
                grid-template-columns: 1fr;
                grid-template-areas: 
                    "inputs"
                    "results"
                    "other";
                gap: 2rem;
            }
            
            .calc-preview-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 0.8rem;
            }
            
            .calc-preview-item {
                flex-direction: column;
                text-align: center;
                gap: 0.5rem;
                padding: 1rem 0.5rem;
            }
            
            .calc-preview-icon {
                width: 40px;
                height: 40px;
                font-size: 1.5rem;
            }
        }

        /* Mobily (max-width: 767px) */
        @media (max-width: 767px) {
            .calc-grid {
                grid-template-columns: 1fr !important;
                grid-template-areas: 
                    "inputs"
                    "results"
                    "other" !important;
                gap: 2rem !important;
            }
            
            .calc-preview-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            
            .calc-preview-item {
                padding: 1.2rem;
            }
            
            .calc-preview-icon {
                font-size: 1.8rem;
            }
        }

        /* Extra malé mobily (max-width: 480px) */
        @media (max-width: 480px) {
            .calc-grid {
                gap: 1.5rem !important;
            }
            
            .calc-inputs, .calc-results, .other-calc {
                padding: 1.5rem 1.2rem;
            }
            
            .other-calc h3 {
                font-size: 1.2rem;
            }
            
            .other-calc p {
                font-size: 0.95rem;
            }
            
            .calc-preview-item {
                padding: 1rem;
                gap: 0.8rem;
            }
            
            .calc-preview-icon {
                width: 45px;
                height: 45px;
                font-size: 1.6rem;
            }
            
            .skip-to-other-calc {
                padding: 0.8rem 1.5rem;
                font-size: 0.9rem;
            }
        }


        /* === STYLY PRO TLAČÍTKO ZOBRAZENÍ TABULKY === */
        .table-link-container {
            text-align: center;
            margin: 1.5rem 0 1rem 0;
        }

        .show-table-btn {
            background: linear-gradient(45deg, #28a745, #20c997);
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 25px;
            font-size: 0.95rem;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
            font-family: inherit;
        }

        .show-table-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
            background: linear-gradient(45deg, #218838, #1e7e6b);
        }

        .show-table-btn:active {
            transform: translateY(0);
        }

        /* === MODAL PRO TABULKU === */
        .table-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(8px);
            z-index: 3000;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }

        .table-modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .table-modal-content {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            max-width: 95vw;
            max-height: 90vh;
            width: 1200px;
            position: relative;
            transform: scale(0.7) translateY(50px);
            transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: 0 30px 70px rgba(0,0,0,0.5);
            border: 1px solid rgba(255,255,255,0.1);
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        .table-modal-overlay.active .table-modal-content {
            transform: scale(1) translateY(0);
        }

        .table-modal-close {
            position: absolute;
            top: 20px;
            right: 25px;
            background: rgba(0,0,0,0.1);
            border: none;
            color: #333;
            font-size: 2rem;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            font-weight: 300;
            line-height: 1;
            z-index: 3001;
            outline: none;
        }

        .table-modal-close:hover {
            background: rgba(255,0,0,0.1);
            color: #ff4444;
            transform: rotate(90deg) scale(1.1);
        }

        .table-modal-title {
            text-align: center;
            margin-bottom: 2rem;
            font-size: 1.8rem;
            font-weight: bold;
            color: #333;
            padding-top: 25px;
        }

        .table-modal-container {
            flex: 1;
            overflow-y: auto;
            background: rgba(248,249,250,0.8);
            border-radius: 15px;
            padding: 20px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }

        /* === STYLY PRO TABULKU === */
        .table-container {
            overflow-x: auto;
            margin-bottom: 2rem;
        }

        .investment-table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            font-size: 0.95rem;
        }

        .investment-table thead {
            background: linear-gradient(135deg, #5c8cca 0%, #07a6ce 100%);
            color: white;
        }

        .investment-table th {
            padding: 1rem 0.8rem;
            text-align: center;
            font-weight: bold;
            font-size: 0.9rem;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
        }

        .investment-table td {
            padding: 0.8rem;
            text-align: center;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            transition: background-color 0.2s ease;
        }

        .investment-table tbody tr:hover {
            background-color: rgba(92, 140, 202, 0.05);
        }

        .investment-table tbody tr.start-row {
            background-color: rgba(255, 193, 7, 0.1);
            font-weight: 600;
        }

        .investment-table tbody tr.start-row:hover {
            background-color: rgba(255, 193, 7, 0.15);
        }

        /* Specifické styly pro sloupce */
        .year-cell {
            font-weight: bold;
            color: #5c8cca;
            background-color: rgba(92, 140, 202, 0.05);
        }

        .invested-cell {
            color: #3498db;
            font-weight: 600;
        }

        .total-cell {
            color: #2c3e50;
            font-weight: bold;
            font-size: 1.05rem;
        }

        .profit-cell {
            color: #6f42c1;
            font-weight: 600;
        }

        .gain-cell {
            color: #17a2b8;
            font-weight: 500;
        }

        .return-cell {
            color: #fd7e14;
            font-weight: 600;
        }

        /* === SUMMARY STATISTIKY === */
        .table-summary {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 15px;
            padding: 2rem;
            margin-top: 1rem;
        }

        .summary-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
        }

        .stat-box {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 1.5rem;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
        }

        .stat-box:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        }

        .stat-label {
            font-size: 0.9rem;
            color: #666;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }

        .stat-value {
            font-size: 1.4rem;
            font-weight: bold;
            margin-top: 0.5rem;
        }

        .stat-value.invested {
            color: #3498db;
        }

        .stat-value.total {
            color: #2c3e50;
        }

        .stat-value.profit {
            color: #28a745;
        }

        .stat-value.return {
            color: #fd7e14;
        }

        /* Responzivní úpravy pro table modal */
        @media (max-width: 768px) {
            .table-modal-content {
                padding: 1.5rem;
                width: 95%;
                max-height: 85vh;
            }
            
            .table-modal-container {
                padding: 15px;
            }
            
            .table-modal-title {
                font-size: 1.4rem;
                margin-bottom: 1.5rem;
                margin-top: 1.5rem;
            }
            
            .table-modal-close {
                top: 15px;
                right: 20px;
                width: 40px;
                height: 40px;
                font-size: 1.5rem;
            }

            .investment-table {
                font-size: 0.85rem;
            }

            .investment-table th,
            .investment-table td {
                padding: 0.6rem 0.4rem;
            }

            .summary-stats {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }

            .stat-box {
                padding: 1rem;
            }

            .stat-value {
                font-size: 1.2rem;
            }
        }

        @media (max-width: 480px) {
            .table-modal-content {
                padding: 1rem;
                width: 98%;
            }

            .investment-table {
                font-size: 0.8rem;
            }

            .investment-table th,
            .investment-table td {
                padding: 0.5rem 0.3rem;
            }

            .summary-stats {
                grid-template-columns: 1fr;
                gap: 0.8rem;
            }

            .stat-box {
                padding: 0.8rem;
            }

            .stat-value {
                font-size: 1.1rem;
            }

            .show-table-btn {
                padding: 0.7rem 1.2rem;
                font-size: 0.9rem;
            }
        }





        /* === STYLY PRO STRÁNKU ČLÁNKY === */

        /* Kategorie článků */
        .articles-category {
            margin-bottom: 4rem;
        }

        .category-divider {
            text-align: center;
            margin: 3rem 0 2rem 0;
            position: relative;
        }

        .calculators-category-divider {
            text-align: center;
            margin: 3rem 0 2rem 0;
            position: relative;
        }

        .category-divider h2 {
           
            padding: 0 2rem;
            color: #2c3e50;
            font-size: 1.8rem;
            font-weight: bold;
            display: inline-block;
            margin-bottom: 80px;
        }

        .calculators-category-divider h2 {
           
            padding: 0 2rem;
            color: #2c3e50;
            font-size: 1.8rem;
            font-weight: bold;
            display: inline-block;
            margin-bottom: 80px;
        }

        .category-divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, #000, transparent);
            z-index: -1;
        }


        .calculators-category-divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, #000, transparent);
            z-index: -1;
        }

        /* Grid pro články */
        .articles-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        /* Karty článků */
        .article-card {
            background: white;
            border-radius: 15px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.1);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            cursor: pointer;
            overflow: hidden;
            position: relative;
            border: 2px solid transparent;
        }

        .article-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
            border-color: rgba(92, 140, 202, 0.3);
        }

        .article-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(92, 140, 202, 0.1), transparent);
            transition: left 0.6s;
            z-index: 1;
        }

        .article-card:hover::before {
            left: 100%;
        }

        /* Obrázek/ikona článku */
        .article-image {
            height: 120px;
            background: linear-gradient(135deg, #5c8cca 0%, #07a6ce 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .article-icon {
            font-size: 3rem;
            color: white;
            transition: all 0.4s ease;
            filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
            z-index: 2;
        }

        .article-card:hover .article-icon {
            transform: scale(1.2) rotate(5deg);
        }

        /* Obsah článku */
        .article-content {
            padding: 1.5rem;
            position: relative;
            z-index: 2;
        }

        .article-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
            font-size: 0.85rem;
        }

        .article-date {
            color: #666;
            font-weight: 500;
        }

        .article-category {
            background: linear-gradient(45deg, #ff6b6b, #ee5a24);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            font-weight: 600;
            font-size: 0.8rem;
        }

        .article-title {
            font-size: 1.3rem;
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 1rem;
            line-height: 1.3;
            transition: color 0.3s ease;
        }

        .article-card:hover .article-title {
            color: #5c8cca;
        }

        .article-excerpt {
            color: #555;
            line-height: 1.6;
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
        }

        .article-stats {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.85rem;
            color: #666;
            padding-top: 1rem;
            border-top: 1px solid rgba(0,0,0,0.05);
        }

        .article-stats span {
            display: flex;
            align-items: center;
            gap: 0.3rem;
            font-weight: 500;
        }

        /* Responzivní úpravy pro články */
        @media (max-width: 768px) {
            .category-divider h2 {
                font-size: 1.5rem;
                padding: 0 1rem;
            }
            
            .articles-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .article-card {
                margin: 0 0.5rem;
            }
            
            .article-content {
                padding: 1.2rem;
            }
            
            .article-title {
                font-size: 1.2rem;
            }
            
            .article-image {
                height: 100px;
            }
            
            .article-icon {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 480px) {
            .category-divider {
                margin: 2rem 0 1.5rem 0;
            }
            
            .category-divider h2 {
                font-size: 1.3rem;
                padding: 0 0.8rem;
            }
            
            .articles-grid {
                gap: 1rem;
            }
            
            .article-card {
                margin: 0;
            }
            
            .article-content {
                padding: 1rem;
            }
            
            .article-title {
                font-size: 1.1rem;
            }
            
            .article-excerpt {
                font-size: 0.9rem;
            }
            
            .article-meta {
                flex-direction: column;
                gap: 0.5rem;
                align-items: flex-start;
            }
            
            .article-stats {
                flex-direction: column;
                gap: 0.5rem;
                align-items: flex-start;
            }
            
            .article-image {
                height: 80px;
            }
            
            .article-icon {
                font-size: 2rem;
            }
        }



        .yearly-profit-cell {
            color: #28a745;
            font-weight: 600;
        }

        /* === DODATEČNÉ STYLY PRO TABULKU === */
        @media (max-width: 768px) {
            .investment-table th,
            .investment-table td {
                padding: 0.6rem 0.3rem;
                font-size: 0.8rem;
            }
        }

        @media (max-width: 480px) {
            .investment-table th,
            .investment-table td {
                padding: 0.5rem 0.2rem;
                font-size: 0.75rem;
            }
        }



/* ===== Currency selector styles (added/updated) ===== */
.currency-selector {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

.currency-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 9px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(0,0,0,0.04);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    min-width: 84px;
    justify-content: center;
}

.currency-trigger .currency-icon { font-size: 16px; transition: transform 0.25s ease; }

.currency-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.98);
    transition: all 0.22s cubic-bezier(.2,.9,.3,1);
    z-index: 1200;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
}

.currency-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.currency-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: #222;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    font-size: 14px;
    cursor: pointer;
    background: transparent;
}

.currency-option:last-child { border-bottom: none; }

.currency-option:hover { background: rgba(0,123,255,0.06); color: #007bff; padding-left: 18px; }

.currency-option.current {
    background: rgba(0,123,255,0.08);
    color: #007bff;
    font-weight: 700;
}

.currency-code { font-weight: 700; flex-shrink: 0; width: 56px; text-align: left; }
.currency-info { display:flex; flex-direction:column; gap:2px; }
.currency-name { font-weight: 600; line-height:1.1; }
.currency-symbol { font-size:12px; color:#666; line-height:1; }





/* ------------------- Mobile / responsive adjustments (improved) ------------------- */
/* Keep selector full-width but dropdown fits viewport and centers to avoid horizontal overflow */
@media (max-width: 767px) {
    .currency-selector {
        display: flex;
        width: 100%;
        margin: 8px 0;
        position: relative;
        align-items: center;
        overflow: visible;
    }

    .currency-trigger {
        
        justify-content: center;
        padding: 9px 12px;
        border-radius: 18px;
        box-sizing: border-box;
    }

    /* dropdown hidden by default; centered and constrained to viewport width to prevent overflow */
    .currency-dropdown {
        position: absolute;
        top: calc(100% + 8px);
        left: 50%;
        transform: translateX(-50%) translateY(-6px);
        width: calc(100vw - 24px); /* keep gap from screen edges */
        max-width: calc(100% - 16px);
        margin: 0;
        transform-origin: top center;
        opacity: 0;
        visibility: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        border-radius: 8px;
        transition: all 0.18s cubic-bezier(.2,.9,.3,1);
        z-index: 9999 !important;
        max-height: 50vh;
        overflow: auto;
        border: 1px solid rgba(0,0,0,0.06);
        background: white;
        box-sizing: border-box;
    }

    .currency-dropdown.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0) scale(1);
        z-index: 9999 !important;
    }

    .currency-dropdown .currency-option {
        padding: 12px 14px;
        box-sizing: border-box;
    }

    /* keep form groups stacked on mobile to avoid horizontal overflow */
    .input-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    /* ensure icons don't force wrapping */
    .currency-trigger .currency-icon {
        margin-left: 8px;
        flex-shrink: 0;
    }

    /* Make sure images and large elements can't overflow */
    img, svg, .logo-image {
        max-width: 100%;
        height: auto;
    }

    /* prevent accidental horizontal scroll caused by wide elements */
    html, body {
        overflow-x: hidden;
        position: relative;
        width: 100%;
    }
}

/* Slightly larger mobile/tablet breakpoint */
@media (min-width: 768px) and (max-width: 1149px) {
    .currency-selector { display: inline-flex; position: relative; }
    .currency-trigger { padding: 8px 12px; }
    .currency-dropdown { left: auto; right: 0; min-width: 200px; position: absolute; top: calc(100% + 8px); }
}

/* Slightly larger mobile/tablet breakpoint */
@media (min-width: 768px) and (max-width: 1149px) {
    .currency-selector { display: inline-flex; position: relative; }
    .currency-trigger { padding: 8px 12px; }
    .currency-dropdown { left: auto; right: 0; min-width: 200px; position: absolute; top: calc(100% + 8px); }
}

/* Slightly larger mobile/tablet breakpoint */
@media (min-width: 768px) and (max-width: 1149px) {
    .currency-selector { display: inline-flex; }
    .currency-trigger { padding: 8px 12px; }
    .currency-dropdown { left: auto; right: 0; min-width: 200px; }
}


.calculator-icon {
    font-size: 3rem;
    color: white;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    z-index: 2;
}


