:root {
    /* Color Palette - LIGHT MODE (Čistý Minimalismus) */
    --bg-color: #ffffff;
    /* Čistě bílá */
    --bg-surface: #fafafa;
    /* Velmi světle šedá pro odlišení bloků */
    --text-primary: #111111;
    /* Téměř černá pro silný kontrast */
    --text-secondary: #666666;
    /* Neutrální šedá */

    /* Gradients & Accents - TEAL & MINT GREEN */
    --primary-color: #0d9488;
    /* Výrazná teal jako jediný akcent */
    --primary-glow: rgba(13, 148, 136, 0.2);
    --secondary-color: #0d9488;
    --tertiary-color: #0d9488;

    /* Gradients - Jemné přechody tón v tónu */
    --gradient-1: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    --gradient-2: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);

    /* UI Elements - LIGHT MODE */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.05);
    --shadow-color: rgba(0, 0, 0, 0.04);
    --nav-scrolled-bg: rgba(255, 255, 255, 0.95);
    --footer-bg: #fafafa;

    /* Special Components */
    --mockup-bg: #ffffff;
    --mockup-border: #ebebeb;
    --mockup-search-bg: #f5f5f5;
    --icon-wrapper-bg: rgba(13, 148, 136, 0.08);
    --input-bg: #f5f5f5;

    /* Spacing & Typography */
    --font-main: 'Outfit', sans-serif;
    --container-width: 1200px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
    /* Color Palette - DARK MODE (Čistý Minimalismus) */
    --bg-color: #000000;
    /* Čistě černá */
    --bg-surface: #111111;
    /* Tmavě šedá */
    --text-primary: #ffffff;
    --text-secondary: #999999;

    --primary-glow: rgba(13, 148, 136, 0.4);

    /* UI Elements - DARK MODE */
    --glass-bg: rgba(17, 17, 17, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.8);
    --nav-scrolled-bg: rgba(0, 0, 0, 0.95);
    --footer-bg: #0a0a0a;

    /* Special Components */
    --mockup-bg: #111111;
    --mockup-border: #222222;
    --mockup-search-bg: #1a1a1a;
    --icon-wrapper-bg: rgba(13, 148, 136, 0.15);
    --input-bg: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

/* Typography */
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    /* Minimalistický detail */
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

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

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 300;
}

.text-gradient {
    color: var(--primary-color);
    /* V minimalismu raději čistá barva než gradient */
}

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

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 12px 25px rgba(13, 148, 136, 0.4);
    background: #0f766e;
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-surface);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--text-primary);
    color: var(--bg-color);
}

.w-100 {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: var(--nav-scrolled-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    margin-bottom: 1.5rem;
}

/* CSS Trik: Odstranění bílého pozadí z PNG v tmavé patičce */
.footer-logo .logo-icon {
    filter: invert(1) hue-rotate(180deg) brightness(1.2);
    mix-blend-mode: screen;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.logo-icon {
    display: block;
    height: 45px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.btn) {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition-fast);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.03) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--icon-wrapper-bg);
    color: var(--primary-color);
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.hero-image {
    position: relative;
}

.glow-bg {
    position: relative;
}

.glow-bg::before {
    content: "";
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
    filter: blur(20px);
    z-index: -1;
}

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(16px);
    /* Moderní ambientní aura / stín */
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.05),
        0 0 120px rgba(13, 148, 136, 0.15);
    position: relative;
    z-index: 2;
}

.glass-panel img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    filter: grayscale(20%);
    /* Jemné utlumení barev v minimalismu */
}

/* Bubbles - v minimalismu můžeme nechat jako jemný detail */
.floating-bubble {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-1);
    filter: blur(50px);
    z-index: 1;
    opacity: 0.3;
}

.bubble-1 {
    width: 150px;
    height: 150px;
    top: -20px;
    right: -20px;
    animation: float 8s ease-in-out infinite;
}

.bubble-2 {
    display: none;
    /* Skryjeme druhou bublinu pro větší čistotu */
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--icon-wrapper-bg);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 102, 255, 0.2);
    box-shadow: 0 10px 30px var(--shadow-color);
}

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

.icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--icon-wrapper-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.service-card:hover .icon-wrapper {
    background: var(--primary-color);
    color: #ffffff;
}

/* SEO Section */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.seo-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
}

.check-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    color: var(--text-primary);
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--icon-wrapper-bg);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 0.875rem;
}

.search-mockup {
    background: var(--mockup-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 1px solid var(--mockup-border);
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--mockup-search-bg);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    border: 1px solid var(--glass-border);
}

.search-result {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.search-result.highlight {
    background: var(--icon-wrapper-bg);
    border-left: 3px solid var(--primary-color);
}

.result-url {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.result-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.highlight .result-title {
    color: #0f766e;
}

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

/* Process Section */
.process-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 5rem;
    align-items: center;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--input-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.highlight-number {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px var(--primary-glow);
}

.step-text h3 {
    margin-bottom: 0.25rem;
}

.step-text p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
}

.contact-details {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.detail-item span {
    overflow-wrap: break-word;
    word-break: break-word;
}

.detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--icon-wrapper-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--input-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group textarea {
    resize: vertical !important;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-surface);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Contact Form Response */
.form-response {
    display: none;
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
}

.form-response.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-response.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    background: var(--footer-bg);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    max-width: 400px;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-legal {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    grid-column: 1 / -1;
}

/* Browser Mockup CSS */
.browser-mockup {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 350px;
    background: var(--bg-surface);
}

.browser-header {
    background: var(--glass-border);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--glass-border);
}

.browser-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-secondary);
    opacity: 0.3;
}

.browser-header .dot.close {
    background: #ff5f56;
    opacity: 1;
}

.browser-header .dot.minimize {
    background: #ffbd2e;
    opacity: 1;
}

.browser-header .dot.expand {
    background: #27c93f;
    opacity: 1;
}

.browser-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
}

/* Skeleton Animation */
.sk-line,
.sk-logo,
.sk-button,
.sk-card {
    background: var(--glass-border);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.sk-line::after,
.sk-logo::after,
.sk-button::after,
.sk-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: skeleton-loading 2s infinite ease-in-out;
}

[data-theme="dark"] .sk-line::after,
[data-theme="dark"] .sk-logo::after,
[data-theme="dark"] .sk-button::after,
[data-theme="dark"] .sk-card::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

@keyframes skeleton-loading {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

.skeleton-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sk-logo {
    width: 80px;
    height: 20px;
}

.sk-links {
    display: flex;
    gap: 12px;
}

.w-small {
    width: 40px;
    height: 12px;
}

.skeleton-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
}

.w-large {
    width: 80%;
    height: 32px;
    border-radius: 8px;
}

.w-medium {
    width: 60%;
    height: 16px;
}

.sk-button {
    width: 120px;
    height: 36px;
    border-radius: 20px;
    background: var(--icon-wrapper-bg);
}

.skeleton-grid {
    display: flex;
    gap: 16px;
    margin-top: auto;
}

.sk-card {
    flex: 1;
    height: 80px;
    border-radius: 8px;
}

.delay-s::after {
    animation-delay: 0.3s;
}

.delay-m::after {
    animation-delay: 0.6s;
}

/* Automation Pipeline CSS */
.automation-pipeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 40px;
    align-items: center;
}

.pipeline-box {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 250px;
    box-shadow: 0 10px 20px var(--shadow-color);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pipeline-box:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--primary-color);
}

.pipeline-box.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-glow);
}

.pipeline-box.success {
    border-color: #10b981;
}

.box-icon {
    font-size: 24px;
    background: var(--icon-wrapper-bg);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.box-text {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.pipeline-arrow {
    height: 40px;
    width: 2px;
    background: var(--glass-border);
    position: relative;
    margin: 5px 0;
}

.pulse-dot {
    position: absolute;
    top: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
    animation: flow-down 2s infinite ease-in-out;
}

.pulse-dot.delay {
    animation-delay: 1s;
}

@keyframes flow-down {
    0% {
        top: 0;
        opacity: 0;
        transform: scale(0.5);
    }

    20% {
        opacity: 1;
        transform: scale(1);
    }

    80% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        top: 100%;
        opacity: 0;
        transform: scale(0.5);
    }
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }

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

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 992px) {

    .hero-container,
    .seo-container,
    .process-container,
    .contact-wrapper {
        grid-template-columns: minmax(0, 1fr);
        gap: 3rem;
    }

    .hero {
        text-align: center;
        padding-top: 8rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .process-image {
        order: -1;
    }

    .glass-card {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--nav-scrolled-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-smooth);
        z-index: 999;
    }

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

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .glass-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .glass-card {
        padding: 1.5rem 1.25rem;
    }

    .contact-details {
        gap: 1rem;
    }

    .detail-item {
        gap: 0.75rem;
    }
}

/* Interactive Hero Mockup States and Animations */
.browser-mockup {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.browser-mockup.state-transition-out {
    opacity: 0;
    transform: scale(0.95);
}

.content-web,
.content-program {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.mockup-status-title {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    opacity: 0.4;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
    min-height: 24px;
}

/* Smooth layout cleanup transitions */
.content-web * {
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 1. Messy Layout State */
.state-messy-web .sk-logo {
    transform: translate(-15px, 8px) rotate(-6deg);
    background: #ef4444;
    /* Warning Red */
    opacity: 0.8;
}

.state-messy-web .link-1 {
    transform: translate(25px, -6px) rotate(4deg);
    background: #888888;
}

.state-messy-web .link-2 {
    transform: translate(-10px, 12px) rotate(-8deg);
    background: #888888;
}

.state-messy-web .link-3 {
    transform: translate(15px, 3px) rotate(6deg);
    background: #888888;
}

.state-messy-web .hero-title {
    transform: translate(15px, 10px) rotate(-3deg);
    background: #f59e0b;
    /* Warning Yellow */
    width: 85%;
}

.state-messy-web .hero-desc {
    transform: translate(-20px, -5px) rotate(2deg);
    width: 70%;
}

.state-messy-web .hero-btn {
    transform: translate(35px, 15px) rotate(9deg);
    background: #888888;
}

.state-messy-web .card-1 {
    transform: translate(-12px, 12px) rotate(-8deg);
    background: #ef4444;
}

.state-messy-web .card-2 {
    transform: translate(20px, -15px) rotate(5deg);
    background: #f59e0b;
}

.state-messy-web .card-3 {
    transform: translate(-8px, 18px) rotate(-4deg);
    background: #ef4444;
}

/* 2. Clean/Cleaning Layout State */
.state-clean-web .sk-logo,
.state-cleaning-web .sk-logo {
    background: var(--primary-color);
}

.state-clean-web .hero-btn,
.state-cleaning-web .hero-btn {
    background: var(--primary-color);
}

.state-clean-web .sk-card,
.state-cleaning-web .sk-card {
    background: var(--glass-border);
}

/* Transition delays during cleaning to match logo sweep path */
.state-cleaning-web .sk-logo,
.state-cleaning-web .sk-links .sk-line {
    transition-delay: 0.1s;
    transition-duration: 0.5s;
}

.state-cleaning-web .hero-title,
.state-cleaning-web .hero-desc,
.state-cleaning-web .hero-btn {
    transition-delay: 0.6s;
    transition-duration: 0.6s;
}

.state-cleaning-web .card-1,
.state-cleaning-web .card-2,
.state-cleaning-web .card-3 {
    transition-delay: 1.1s;
    transition-duration: 0.6s;
}

/* Logo Anim Helper Badge */
.logo-anim-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--bg-surface);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(13, 148, 136, 0.4);
    opacity: 0;
    transform: scale(0);
    z-index: 10;
    pointer-events: none;
    transition: all 0.3s ease;
}

.logo-anim-badge .sweep-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}

.logo-anim-badge .sweep-thumbs-up {
    width: 22px;
    height: 22px;
    color: #10b981;
    display: none;
}

/* When cleaning or fast program, show thumbs-up and hide logo statically at bottom-right */
.state-cleaning-program .logo-anim-badge,
.state-fast-program .logo-anim-badge {
    opacity: 1;
    transform: scale(1);
    border-color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.state-cleaning-program .logo-anim-badge .sweep-logo,
.state-fast-program .logo-anim-badge .sweep-logo {
    display: none;
}

.state-cleaning-program .logo-anim-badge .sweep-thumbs-up,
.state-fast-program .logo-anim-badge .sweep-thumbs-up {
    display: block;
}

/* Bad Layout Indicator Badge */
.bad-status-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--bg-surface);
    border: 2px solid #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
    opacity: 0;
    transform: scale(0);
    z-index: 10;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: #ef4444;
}

.bad-status-badge svg {
    width: 20px;
    height: 20px;
}

.state-messy-web .bad-status-badge {
    opacity: 1;
    transform: scale(1);
}

.state-slow-program .bad-status-badge {
    opacity: 1;
    transform: scale(1);
}

/* Web Sweep Cleanup */
.state-cleaning-web .logo-anim-badge {
    animation: web-cleanup 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes web-cleanup {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }

    10% {
        opacity: 1;
        transform: translate(0, 0) scale(1.2);
    }

    25% {
        transform: translate(-180px, -120px) scale(1);
    }

    40% {
        transform: translate(-50px, -180px) scale(1.1);
    }

    55% {
        transform: translate(-220px, -50px) scale(1);
    }

    70% {
        transform: translate(-120px, -110px) scale(1.3);
        opacity: 1;
        box-shadow: 0 0 30px var(--primary-color);
    }

    90% {
        transform: translate(-120px, -110px) scale(1.3);
        opacity: 1;
        box-shadow: 0 0 35px var(--primary-color);
    }

    100% {
        opacity: 0;
        transform: translate(-120px, -110px) scale(0);
    }
}

/* 3. Program/Automation View */
.content-program {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 1.5rem;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.program-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.prog-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.prog-logo-old {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    opacity: 0.5;
}

.prog-logo-new {
    display: none !important;
}

.prog-logo {
    height: 18px !important;
    width: auto !important;
    max-width: 30px !important;
    border-radius: 0 !important;
    display: inline-block;
    object-fit: contain;
    filter: grayscale(1) opacity(0.3) !important;
    transition: all 0.5s ease;
}

.state-fast-program .prog-logo-old {
    display: none !important;
}

.state-fast-program .prog-logo-new {
    display: inline-block !important;
}

.state-fast-program .prog-logo {
    filter: none !important;
    transform: scale(1.1);
}

.prog-title {
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.prog-status {
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    animation: prog-pulse 1.5s infinite ease-in-out;
}

@keyframes prog-pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

.program-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.automation-showcase {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
}

@media (max-width: 480px) {
    .automation-showcase {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }

    .form-mockup {
        width: 100%;
    }

    .automation-stats {
        width: 100%;
    }
}

.form-mockup {
    flex: 1.3;
    background: var(--input-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-line {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.form-label-sk {
    display: flex;
    align-items: center;
    height: 14px;
}

.form-label-sk svg {
    color: var(--text-secondary);
    opacity: 0.75;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.state-fast-program .form-label-sk svg {
    color: #10b981;
    opacity: 1;
}

.form-input-sk {
    background: var(--bg-color);
    border: 1.5px dashed var(--glass-border);
    border-radius: 6px;
    height: 34px;
    padding: 0 0.75rem;
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.form-input-sk.success-fill {
    border: 1.5px solid #10b981;
    background: rgba(16, 185, 129, 0.05);
    color: #10b981;
}

/* Cursor indicator during typing */
.typing-text {
    position: relative;
}

.state-slow-program .input-name .typing-text::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 12px;
    background: var(--text-secondary);
    animation: cursor-blink 0.8s infinite;
}

@keyframes cursor-blink {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

.automation-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.stat-circle {
    background: var(--input-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px var(--shadow-color);
}

.clock {
    width: 36px;
    height: 36px;
    border: 2px solid var(--text-primary);
    border-radius: 50%;
    position: relative;
}

.clock-face {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%);
}

.clock-hand {
    position: absolute;
    background: var(--text-primary);
    bottom: 50%;
    left: calc(50% - 1px);
    transform-origin: bottom center;
    border-radius: 2px;
}

.clock-hand.hour {
    width: 2px;
    height: 25%;
    transform: rotate(45deg);
}

.clock-hand.minute {
    width: 2px;
    height: 40%;
    transform: rotate(0deg);
}

/* Clock speed adjustment */
.state-slow-program .clock-hand.minute,
.state-cleaning-program .clock-hand.minute {
    animation: clock-spin 12s linear infinite;
}

.state-fast-program .clock-hand.minute {
    animation: clock-spin 1.5s linear infinite;
}

@keyframes clock-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.stat-banner {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.banner-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.state-fast-program .banner-title {
    color: #10b981;
}

.banner-desc {
    font-size: 0.7rem;
    color: var(--text-secondary);
    max-width: 140px;
}

.zelena {
    color: #10b981;
}

/* FAQ Section (AEO) */
.faq {
    padding: 6rem 0;
}

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

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.faq-item:hover {
    transform: translateY(-3px);
    border-color: rgba(13, 148, 136, 0.3);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.faq-question h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.faq-question h3::before {
    content: "?";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--icon-wrapper-bg);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1rem;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
}

.faq-answer p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.faq-answer ul {
    margin-top: 1rem;
    padding-left: 2rem;
    color: var(--text-secondary);
}

.faq-answer ul li {
    margin-bottom: 0.5rem;
}

/* AI Mockup (AEO Section) */
.ai-mockup {
    background: var(--bg-color);
}

.ai-chat {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ai-msg {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.user-msg {
    justify-content: flex-end;
}

.bot-msg {
    justify-content: flex-start;
    align-items: flex-start;
}

.msg-bubble {
    padding: 1rem 1.5rem;
    border-radius: 18px;
    font-size: 0.95rem;
    max-width: 90%;
    line-height: 1.5;
}

.user-msg .msg-bubble {
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    border-bottom-right-radius: 4px;
}

.bot-msg .msg-bubble {
    background: var(--icon-wrapper-bg);
    color: var(--primary-color);
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(13, 148, 136, 0.2);
}

.ai-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 5px;
}

.highlight-bubble strong {
    font-weight: 700;
}

/* Ordering utilities for alternating grid */
.order-2-desktop {
    order: 2;
}
.order-1-desktop {
    order: 1;
}

@media (min-width: 993px) {
    .order-2-desktop {
        order: 1;
    }
    .order-1-desktop {
        order: 2;
    }
}