/* style.css - Webařský Prostor */
/* Full responzivní, moderní design s animacemi */

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #22d3ee;
    --secondary-dark: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --dark-lighter: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --white: #ffffff;

    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-text: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    --transition: all 0.3s ease;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

nav.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: var(--transition);
    border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Logo s obrázkem */
a.logo {
    text-decoration: none;
    display: inline-block;
}

.logo img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.1);
}

nav.scrolled .logo img {
    height: 38px;
}

/* ===== HERO SECTION S FIXED PŘECHODEM ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    padding-bottom: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>') repeat;
    animation: backgroundMove 20s linear infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(99, 102, 241, 0.1) 10%,
            rgba(241, 245, 249, 0.3) 30%,
            rgba(241, 245, 249, 0.6) 50%,
            rgba(241, 245, 249, 0.9) 70%,
            #f1f5f9 90%,
            #ffffff 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-gradient-transition {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(180deg,
            rgba(99, 102, 241, 0) 0%,
            rgba(99, 102, 241, 0.05) 20%,
            rgba(241, 245, 249, 0.2) 40%,
            rgba(255, 255, 255, 0.5) 60%,
            rgba(255, 255, 255, 0.8) 80%,
            rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
    z-index: 1;
}

@keyframes backgroundMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(60px, 60px);
    }
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    padding: 2rem;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 0;
}

/* Cursor blikání pro typing efekt */
.hero h1::after {
    content: '|';
    display: inline-block;
    animation: blink 1s infinite;
    color: var(--white);
    font-weight: 300;
    opacity: 0.8;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.hero h1.typing-complete::after {
    display: none;
}

.subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-badges {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: pulse 2s infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-2xl);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

/* Hero animace */
.hero-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== FEATURES SECTION S FIXED SPACING ===== */

.features {
    padding: 5rem 1.5rem;
    background: #ffffff !important;
    position: relative;
    z-index: 2;
}

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0px);
    }

    50% {
        transform: translateX(-50%) translateY(-30px);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    text-align: center;
}

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

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

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Fade-in animace */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Feature cards bounce animace */
.feature-card.fade-in.visible {
    animation: subtle-bounce 0.6s ease-out forwards;
}

@keyframes subtle-bounce {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    60% {
        opacity: 1;
        transform: translateY(-10px);
    }

    80% {
        transform: translateY(5px);
    }

    100% {
        transform: translateY(0);
    }
}

.features-grid .feature-card:nth-child(1).visible {
    animation-delay: 0.1s;
}

.features-grid .feature-card:nth-child(2).visible {
    animation-delay: 0.2s;
}

.features-grid .feature-card:nth-child(3).visible {
    animation-delay: 0.3s;
}

.features-grid .feature-card:nth-child(4).visible {
    animation-delay: 0.4s;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    padding: 5rem 1.5rem;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
    position: relative;
    z-index: 1;
    box-shadow: inset 0 10px 20px -10px rgba(0, 0, 0, 0.05);
}

.portfolio::before {
    content: '◆ ◆ ◆';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    opacity: 0.3;
    font-size: 1rem;
    letter-spacing: 1rem;
}

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

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    background: var(--gradient-primary);
    height: 300px;
    cursor: pointer;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-image img {
    width: auto;
    height: 60%;
    max-width: 80%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-2xl);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 2rem;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.portfolio-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.portfolio-link {
    padding: 0.5rem 1.5rem;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.portfolio-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

/* ===== PORTFOLIO CTA TLAČÍTKO ===== */
.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
}

.portfolio-more-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.portfolio-more-btn::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 ease;
}

.portfolio-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.portfolio-more-btn:hover::before {
    left: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio-cta {
        margin-top: 2rem;
    }

    .portfolio-more-btn {
        padding: 0.875rem 2.5rem;
        font-size: 1rem;
    }
}

/* ===== PROCESS SECTION ===== */
.process {
    padding: 5rem 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%) !important;
}

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

.step {
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    line-height: 60px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-lg);
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.step p {
    color: var(--gray);
    line-height: 1.8;
}

/* ===== PRICING SECTION ===== */
.pricing {
    padding: 5rem 1.5rem;
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%) !important;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--light);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card>* {
    margin-bottom: 1.5rem;
}

.pricing-card>*:last-child {
    margin-bottom: 0;
    margin-top: auto;
}

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

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.pricing-card.featured::before {
    content: 'NEJOBLÍBENĚJŠÍ';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.plan-description {
    color: var(--gray);
    margin-bottom: 2rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
    flex-grow: 1;
}

.plan-features li {
    padding: 0.75rem 0;
    color: var(--dark);
    position: relative;
    padding-left: 1.5rem;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

.plan-button {
    display: inline-block;
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
}

.plan-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 5rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>') repeat;
    animation: backgroundMove 20s linear infinite;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact .section-title {
    -webkit-text-fill-color: var(--white);
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    margin-top: 2rem;
}

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

.form-group select {
    width: 100%;
    padding: 1rem;
    padding-right: 2.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: var(--transition);
    background: var(--white);
    color: var(--dark);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
}

.form-group select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 3rem;
    background: var(--white);
    color: var(--primary);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 1.5rem 1rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info {
    margin-bottom: 2rem;
}

.footer-info p {
    margin: 0.5rem 0;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-xl);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Thank You Message */
.thank-you-message {
    position: fixed;
    top: 100px;
    right: -400px;
    background: var(--success);
    color: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-2xl);
    transition: right 0.3s ease;
    z-index: 2000;
}

.thank-you-message.show {
    right: 20px;
}

/* ===== COOKIE CONSENT ===== */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    z-index: 10000;
    display: none;
    animation: slideUp 0.5s ease-out;
}

.cookie-consent.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-text h3 {
    color: var(--dark);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.cookie-text a:hover {
    opacity: 0.8;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
}

.cookie-accept,
.cookie-reject,
.cookie-settings {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.cookie-accept {
    background: var(--gradient-primary);
    color: var(--white);
    flex: 1;
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.cookie-reject {
    background: transparent;
    color: var(--gray);
    border: 2px solid var(--light);
}

.cookie-reject:hover {
    background: var(--light);
}

.cookie-settings {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cookie-settings:hover {
    background: var(--primary);
    color: var(--white);
}

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
}

.cookie-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateZ(0);
    will-change: transform;
}

.cookie-modal.show .cookie-modal-content {
    animation: simpleSlideIn 0.3s ease-out;
}

@keyframes simpleSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px 20px 0 0;
}

.cookie-modal-header h2 {
    color: var(--white);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-modal-header h2::before {
    content: '🍪';
    font-size: 1.3em;
}

.close-cookie-modal {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-cookie-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.cookie-category:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category h3 {
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: 600;
}

.cookie-category p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Cookie Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: background-color 0.3s ease;
    border-radius: 26px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: transform 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

input:checked+.slider {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

input:disabled+.slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--light);
    display: flex;
    gap: 1rem;
}

.cookie-save,
.cookie-accept-all-modal {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-save {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cookie-save:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.cookie-accept-all-modal {
    background: var(--gradient-primary);
    color: var(--white);
}

.cookie-accept-all-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

/* Cookie Settings Button v patičce */
.cookie-settings-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    margin-top: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.cookie-settings-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cookie-settings-btn:active {
    transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

/* Mobile Large */
@media (max-width: 768px) {

    /* Navigation Mobile */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Hero Mobile - FIXED SPACING */
    .hero {
        min-height: 100vh;
        padding: 80px 1rem 100px;
    }

    .hero::after {
        height: 80px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-badges {
        gap: 1rem;
    }

    .badge {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    /* Features Mobile - FIXED SPACING */
    #features {
        margin-top: -30px;
        padding-top: 60px;
    }

    .features {
        padding: 3rem 1rem;
    }

    .portfolio,
    .process,
    .pricing,
    .contact {
        padding: 3rem 1rem;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }

    /* Grid Layouts Mobile */
    .features-grid,
    .portfolio-grid,
    .process-steps,
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio-item {
        height: 250px;
    }

    /* Pricing Mobile */
    .pricing-card {
        padding: 1.5rem;
    }

    .plan-price {
        font-size: 2rem;
    }

    /* Back to Top Button Mobile */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    /* Cookie Consent Mobile */
    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-accept,
    .cookie-reject,
    .cookie-settings {
        width: 100%;
    }

    .cookie-modal-content {
        width: 95%;
        max-height: 90vh;
        margin: 10px;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }

    .cookie-save,
    .cookie-accept-all-modal {
        width: 100%;
    }

    .cookie-settings-btn {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    /* Hero adjustments */
    .hero {
        padding-bottom: 80px;
    }

    .hero::after {
        height: 60px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .badge {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    /* Features spacing */
    #features {
        margin-top: -20px;
        padding-top: 40px;
    }

    .feature-card,
    .pricing-card {
        padding: 1.25rem;
    }

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

    /* Form inputs - prevent zoom on iOS */
    .contact-form input,
    .contact-form textarea,
    .form-group select {
        font-size: 16px;
    }

    /* Cookie modal adjustments */
    .cookie-modal-header h2 {
        font-size: 1.2rem;
    }

    .cookie-category {
        padding: 0.75rem;
    }

    .cookie-category h3 {
        font-size: 1rem;
    }

    .cookie-category p {
        font-size: 0.85rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Landscape Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 1rem 3rem;
    }

    .hero-badges {
        margin-bottom: 1.5rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

/* ===== ANIMATIONS ===== */
@keyframes rainbow {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===== PERFORMANCE OPTIMALIZACE ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Hardware acceleration */
.feature-card,
.portfolio-item,
.pricing-card {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Scrollbar styling */
.cookie-modal-content::-webkit-scrollbar {
    width: 8px;
}

.cookie-modal-content::-webkit-scrollbar-track {
    background: var(--light);
    border-radius: 10px;
}

.cookie-modal-content::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

.cookie-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Performance for mobile */
.cookie-modal-content {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* ===== FORM IMPROVEMENTS ===== */
.form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* GDPR Checkbox */
.gdpr-wrapper {
    margin: 1.5rem 0 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.gdpr-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.gdpr-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-top: 3px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 3px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.gdpr-checkbox:checked {
    background: var(--white);
    border-color: var(--white);
}

.gdpr-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 8px;
    border: solid var(--primary);
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
}

.gdpr-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.85rem;
    line-height: 1.5;
}

.gdpr-text a {
    color: var(--white);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {

    nav,
    .cta-button,
    .submit-button,
    .back-to-top,
    .cookie-consent,
    .cookie-modal {
        display: none !important;
    }

    .hero {
        min-height: auto;
        background: none;
        color: var(--dark);
    }
}

/* ===== FINAL TOUCHES ===== */
::selection {
    background: var(--primary);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary);
    color: var(--white);
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Smooth transitions for all interactive elements */
a,
button,
input,
textarea,
select {
    transition: all 0.3s ease;
}

/* Loading state */
body.loading * {
    cursor: wait !important;
}

/* ===== AFFILIATE PAGE STYLES ===== */

/* Affiliate Hero Section */
.affiliate-hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    padding: 120px 1.5rem 5rem;
}

.affiliate-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>') repeat;
    animation: backgroundMove 20s linear infinite;
}

.affiliate-hero-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
    max-width: 900px;
}

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

.affiliate-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.affiliate-hero-content .gradient-text {
    background: linear-gradient(135deg, #22d3ee 0%, #a5f3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.affiliate-hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    opacity: 0.95;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.affiliate-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

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

.affiliate-stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.affiliate-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.affiliate-stat-divider {
    width: 2px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
}

/* Affiliate Process Section */
.affiliate-process {
    padding: 5rem 1.5rem;
    background: var(--white);
}

.affiliate-process-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.affiliate-process-step {
    background: var(--light);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    max-width: 280px;
    position: relative;
    transition: var(--transition);
}

.affiliate-process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

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

.affiliate-process-number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
}

.affiliate-process-step h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.affiliate-process-step p {
    color: var(--gray);
    line-height: 1.7;
}

.affiliate-process-arrow {
    font-size: 2rem;
    color: var(--primary);
    align-self: center;
    font-weight: 700;
}

/* Affiliate Benefits Section */
.affiliate-benefits {
    padding: 5rem 1.5rem;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

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

.affiliate-benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 2px solid transparent;
}

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

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

.affiliate-benefit-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.affiliate-benefit-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* Affiliate Earnings Section */
.affiliate-earnings {
    padding: 5rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.affiliate-earnings::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>') repeat;
    animation: backgroundMove 20s linear infinite;
}

.affiliate-earnings-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.affiliate-earnings-text h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.affiliate-earnings-text p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.affiliate-earnings-list {
    list-style: none;
}

.affiliate-earnings-list li {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.1rem;
}

.affiliate-earnings-list li:last-child {
    border-bottom: none;
}

.affiliate-earnings-list strong {
    font-size: 1.3rem;
}

.affiliate-earnings-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.affiliate-earnings-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.affiliate-earnings-amount {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.affiliate-earnings-card p {
    opacity: 0.9;
}

/* Affiliate FAQ Section */
.affiliate-faq {
    padding: 5rem 1.5rem;
    background: var(--white);
}

.affiliate-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.affiliate-faq-item {
    background: var(--light);
    padding: 2rem;
    border-radius: 15px;
    transition: var(--transition);
}

.affiliate-faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.affiliate-faq-item h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.affiliate-faq-item p {
    color: var(--gray);
    line-height: 1.7;
}

.affiliate-faq-item.affiliate-faq-full {
    grid-column: 1 / -1;
}

/* Affiliate Contact Section */
.affiliate-contact {
    padding: 5rem 1.5rem;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

.affiliate-contact .contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.affiliate-contact .contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.affiliate-contact .section-title {
    -webkit-text-fill-color: initial;
    color: var(--dark);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Affiliate */
@media (max-width: 992px) {
    .affiliate-earnings-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .affiliate-earnings-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .affiliate-hero-section {
        padding: 100px 1.5rem 3rem;
    }

    .affiliate-hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .affiliate-stat-divider {
        width: 60px;
        height: 2px;
    }

    .affiliate-process-steps {
        flex-direction: column;
        align-items: center;
    }

    .affiliate-process-arrow {
        transform: rotate(90deg);
    }

    .affiliate-process-step {
        max-width: 100%;
        width: 100%;
    }

    .affiliate-faq-grid {
        grid-template-columns: 1fr;
    }

    .affiliate-contact .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .affiliate-hero-content h1 {
        font-size: 2rem;
    }

    .affiliate-stat-value {
        font-size: 2rem;
    }

    .affiliate-earnings-amount {
        font-size: 2rem;
    }

    .affiliate-benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== REFERRAL CODE TOGGLE ===== */
.referral-toggle-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.referral-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.referral-toggle-btn.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.referral-code-wrapper {
    animation: slideDown 0.3s ease-out;
}

.referral-code-wrapper input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.referral-code-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== PRICING SUBSCRIPTION (měsíční paušál) ===== */
.pricing-subscription {
    margin-top: 2.5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-subscription-card {
    background: var(--white);
    border: 2px solid var(--primary-light);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.pricing-subscription-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.pricing-subscription-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}

.subscription-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.subscription-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.subscription-left .plan-name {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.subscription-left .plan-description {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.subscription-center .plan-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 1.5rem;
    margin-bottom: 0;
}

.subscription-center .plan-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.subscription-center .plan-features li:nth-last-child(-n+1) {
    color: var(--primary);
    font-weight: 600;
}

.subscription-right {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.subscription-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.subscription-price-wrapper .plan-price {
    font-size: 2.8rem;
    margin-bottom: 0;
}

.subscription-period {
    font-size: 1.1rem;
    color: var(--gray);
    font-weight: 500;
}

.subscription-button {
    white-space: nowrap;
    min-width: 200px;
}

/* Subscription responsive - Tablet */
@media (max-width: 1024px) {
    .subscription-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .subscription-right {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
}

/* Subscription responsive - Mobile */
@media (max-width: 768px) {
    .pricing-subscription {
        margin-top: 1.5rem;
    }

    .pricing-subscription-card {
        padding: 1.5rem;
    }

    .subscription-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .subscription-left .plan-name {
        font-size: 1.4rem;
    }

    .subscription-center .plan-features {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: left;
        max-width: 280px;
        margin: 0 auto;
    }

    .subscription-right {
        flex-direction: column;
        gap: 1rem;
    }

    .subscription-price-wrapper .plan-price {
        font-size: 2.2rem;
    }

    .subscription-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Subscription responsive - Small Mobile */
@media (max-width: 480px) {
    .pricing-subscription-card {
        padding: 1.25rem;
    }

    .subscription-price-wrapper .plan-price {
        font-size: 2rem;
    }
}

/* ===== PRICING HOURLY (následné práce) ===== */
.pricing-hourly {
    margin-top: 1.5rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-hourly-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 1.75rem 2.5rem;
    background: var(--dark);
    background-image:
        radial-gradient(circle at 0% 0%, rgba(99, 102, 241, 0.35) 0%, transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(34, 211, 238, 0.22) 0%, transparent 45%);
    border-radius: 20px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.pricing-hourly-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.35);
}

.hourly-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--secondary);
    flex-shrink: 0;
}

.hourly-title {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    color: var(--white);
}

.hourly-description {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.9rem;
    max-width: 560px;
}

.hourly-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hourly-tags li {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--light);
}

.hourly-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    white-space: nowrap;
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.hourly-amount {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hourly-unit {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gray-light);
}

/* Hourly responsive - Tablet */
@media (max-width: 1024px) {
    .pricing-hourly-card {
        grid-template-columns: auto 1fr;
        padding: 1.75rem 2rem;
    }

    .hourly-price {
        grid-column: 1 / -1;
        justify-content: center;
        padding-left: 0;
        padding-top: 1.25rem;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }
}

/* Hourly responsive - Mobile */
@media (max-width: 768px) {
    .pricing-hourly-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.25rem;
        padding: 1.5rem;
    }

    .hourly-icon {
        margin: 0 auto;
    }

    .hourly-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hourly-tags {
        justify-content: center;
    }

    .hourly-amount {
        font-size: 2.2rem;
    }
}

/* END OF STYLESHEET */


/* ============================================================
   PROJEKTY PAGE – přesunuto z projekty.html
   ============================================================ */
/* ===== PROJEKTY HERO ===== */
.projekty-hero {
    background: var(--gradient-primary);
    padding: 140px 1.5rem 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.projekty-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>') repeat;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(60px, 60px);
    }
}

.projekty-hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.projekty-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.3rem);
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.projekty-hero .hero-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===== PROJEKTY GRID SEKCE ===== */
.projekty-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.projekty-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* ===== PROJEKT KARTA ===== */
.projekt-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.projekt-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.15);
}

/* Horní část - logo/vizuál */
.projekt-card-visual {
    height: 220px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.projekt-card-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>') repeat;
    opacity: 0.5;
}

.projekt-card-visual img {
    width: auto;
    height: 55%;
    max-width: 75%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.projekt-card:hover .projekt-card-visual img {
    transform: scale(1.08);
}

/* Textové logo (varianta bez obrázku) */
.projekt-card-visual .projekt-logo-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    transition: transform 0.4s ease;
    padding: 0 1rem;
}

.projekt-card-visual .projekt-logo-text-main {
    font-family: 'Bebas Neue', 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--white);
    text-transform: uppercase;
    line-height: 1;
}

.projekt-card-visual .projekt-logo-text-sub {
    font-family: 'Bebas Neue', 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 600;
    letter-spacing: 0.25em;
    color: #ffd54a;
    margin-top: 0.5rem;
    text-transform: uppercase;
}

.projekt-card:hover .projekt-card-visual .projekt-logo-text {
    transform: scale(1.08);
}

/* Spodní část - info */
.projekt-card-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.projekt-card-info h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.projekt-card-category {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    width: fit-content;
}

.projekt-card-info p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Tagy */
.projekt-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.projekt-tag {
    background: var(--light);
    color: var(--gray);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
}

/* Tlačítko */
.projekt-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-align: center;
}

.projekt-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
}

.projekt-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.projekt-card-link:hover svg {
    transform: translateX(3px);
}

/* ===== CTA SEKCE ===== */
.projekty-cta-section {
    padding: 5rem 1.5rem;
    background: var(--white);
    text-align: center;
}

.projekty-cta-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--gradient-primary);
    border-radius: 25px;
    padding: 3.5rem 3rem;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.projekty-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>') repeat;
    animation: backgroundMove 20s linear infinite;
}

.projekty-cta-card h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.projekty-cta-card p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

.projekty-cta-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.projekty-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* ===== FOOTER CREDIT ===== */
.footer-credit {
    margin-top: 1.5rem;
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-credit span {
    font-size: 20px;
}

.footer-credit a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer-credit a img {
    height: 20px;
    width: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: brightness(1);
}

.footer-credit a:hover img {
    opacity: 1;
    filter: brightness(1.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .projekty-hero {
        padding: 110px 1rem 70px;
    }

    .projekty-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .projekty-stat-divider {
        width: 60px;
        height: 2px;
    }

    .projekty-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .projekt-card-visual {
        height: 180px;
    }

    .projekt-card-info {
        padding: 1.5rem;
    }

    .projekty-cta-card {
        padding: 2.5rem 1.5rem;
    }

    .footer-credit span {
        font-size: 18px;
    }

    .footer-credit a img {
        height: 18px;
    }
}

@media (max-width: 480px) {
    .projekty-hero h1 {
        font-size: 1.8rem;
    }

    .projekty-stat-value {
        font-size: 2rem;
    }

    .projekt-card-info h3 {
        font-size: 1.2rem;
    }
}


/* ============================================================
   COOKIE POLICY PAGE – přesunuto z cookie-policy.html
   ============================================================ */
/* Hero sekce pro Cookie Policy */
.cookie-hero {
    background: var(--gradient-primary);
    padding: 120px 1.5rem 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cookie-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>') repeat;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(60px, 60px);
    }
}

.cookie-hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cookie-hero .cookie-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.cookie-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Content sekce */
.cookie-content-page {
    max-width: 900px;
    margin: -40px auto 5rem;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.content-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.content-card h2 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.content-card h2:first-child {
    margin-top: 0;
}

.content-card h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.content-card h3 {
    color: var(--dark);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.content-card p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-card ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-card li {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.content-card strong {
    color: var(--dark);
    font-weight: 600;
}

/* Info boxy */
.info-box {
    background: var(--light);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.info-box p {
    margin-bottom: 0.5rem;
}

/* Cookie tabulka */
.cookie-table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    overflow-x: auto;
    display: block;
}

.cookie-table table {
    width: 100%;
    min-width: 600px;
}

.cookie-table th {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.cookie-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--light);
    color: var(--gray);
}

.cookie-table tr:hover {
    background: rgba(99, 102, 241, 0.05);
}

.cookie-table .cookie-name {
    font-weight: 600;
    color: var(--dark);
}

/* Cookie category badges */
.cookie-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.cookie-badge.necessary {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.cookie-badge.analytics {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.cookie-badge.marketing {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

/* Browser info box */
.browser-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.browser-info h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.browser-info p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.75rem;
}

.browser-info a {
    color: var(--white);
    font-weight: 600;
    text-decoration: underline;
}

/* Back button */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.back-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

/* Datum platnosti */
.validity-date {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light);
    color: var(--gray);
    font-style: italic;
}

/* Footer credit */
.footer-credit {
    margin-top: 1.5rem;
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-credit span {
    font-size: 20px;
}

.footer-credit a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer-credit a img {
    height: 20px;
    width: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: brightness(1);
}

.footer-credit a:hover img {
    opacity: 1;
    filter: brightness(1.3);
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-hero {
        padding: 100px 1rem 60px;
    }

    .content-card {
        padding: 2rem 1.5rem;
    }

    .content-card h2 {
        font-size: 1.3rem;
    }

    .content-card h3 {
        font-size: 1.1rem;
    }

    .cookie-table {
        font-size: 0.9rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 0.75rem 0.5rem;
    }

    .footer-credit span {
        font-size: 18px;
    }

    .footer-credit a img {
        height: 18px;
    }
}


/* ============================================================
   GDPR PAGE – přesunuto z gdpr.html
   ============================================================ */
/* Hero sekce pro GDPR */
.gdpr-hero {
    background: var(--gradient-primary);
    padding: 120px 1.5rem 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.gdpr-hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.gdpr-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Content sekce */
.gdpr-content {
    max-width: 900px;
    margin: -40px auto 5rem;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.content-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.content-card h2 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.content-card h2:first-child {
    margin-top: 0;
}

.content-card h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.content-card h3 {
    color: var(--dark);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.content-card p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-card ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-card li {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.content-card strong {
    color: var(--dark);
    font-weight: 600;
}

/* Info boxy */
.info-box {
    background: var(--light);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.info-box p {
    margin-bottom: 0.5rem;
}

/* Cookie info box */
.cookie-info-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.cookie-info-box p {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.cookie-info-box a {
    color: var(--white);
    font-weight: 600;
    text-decoration: underline;
}

.cookie-info-box a:hover {
    opacity: 0.9;
}

/* Back button */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.back-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

/* Datum platnosti */
.validity-date {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light);
    color: var(--gray);
    font-style: italic;
}

/* Footer credit */
.footer-credit {
    margin-top: 1.5rem;
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-credit span {
    font-size: 20px;
}

.footer-credit a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer-credit a img {
    height: 20px;
    width: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: brightness(1);
}

.footer-credit a:hover img {
    opacity: 1;
    filter: brightness(1.3);
}

/* Responsive */
@media (max-width: 768px) {
    .gdpr-hero {
        padding: 100px 1rem 60px;
    }

    .content-card {
        padding: 2rem 1.5rem;
    }

    .content-card h2 {
        font-size: 1.3rem;
    }

    .content-card h3 {
        font-size: 1.1rem;
    }

    .footer-credit span {
        font-size: 18px;
    }

    .footer-credit a img {
        height: 18px;
    }
}


/* ============================================================
   404 PAGE – přesunuto z 404.html
   ============================================================ */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.error-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>') repeat;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(60px, 60px);
    }
}

.error-content {
    text-align: center;
    color: var(--white);
    padding: 2rem;
    max-width: 600px;
    z-index: 1;
    position: relative;
}

.error-404 {
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.error-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.error-text {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 3rem;
    line-height: 1.6;
}

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

.error-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.error-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.error-button.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.error-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.error-emoji {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: shake 2s ease-in-out infinite;
}

@keyframes shake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .error-404 {
        font-size: 5rem;
    }

    .error-title {
        font-size: 1.5rem;
    }

    .error-text {
        font-size: 1rem;
    }

    .error-buttons {
        flex-direction: column;
        align-items: center;
    }

    .error-button {
        width: 100%;
        max-width: 250px;
    }
}

