* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --text-primary: #ffffff;
    --text-secondary: #8a8a9a;
    --accent-1: #00ffaa;
    --accent-2: #ff00aa;
    --accent-3: #aa00ff;
    --accent-4: #00aaff;
    --glow-1: rgba(0, 255, 170, 0.5);
    --glow-2: rgba(255, 0, 170, 0.5);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Syne', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    cursor: none;
}

a, button {
    cursor: none;
}

.skip-nav {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--accent-1);
    color: var(--bg-primary);
    padding: 0.8rem 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 100001;
    text-decoration: none;
    border-radius: 0 0 8px 8px;
    transition: top 0.2s ease;
}
.skip-nav:focus {
    top: 0;
}

/* Noise Overlay */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Particle Canvas */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Advanced Cursor System */
.cursor-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
}

.cursor-main {
    position: fixed;
    width: 12px;
    height: 12px;
    background: var(--accent-1);
    border-radius: 50%;
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 10002;
    transform: translate(-50%, -50%);
}

.cursor-trail {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-trail.hover {
    width: 80px;
    height: 80px;
    border-color: var(--accent-2);
    background: rgba(255, 0, 170, 0.1);
}

.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 170, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(20px);
    transform: translate(-50%, -50%);
}

/* Loading Screen */
.loader-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.loader-text {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 800;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3), var(--accent-4));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 2s ease infinite;
}

.loader-bar-container {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    border-radius: 2px;
    transition: width 0.1s ease;
}

.loader-percentage {
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    color: var(--text-secondary);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    mix-blend-mode: difference;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, mix-blend-mode 0s;
}

nav.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    mix-blend-mode: normal;
}

nav.menu-open {
    mix-blend-mode: normal;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: white;
}

.logo span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo:hover span {
    animation: logoWave 0.5s ease forwards;
}

.logo:hover span:nth-child(1) { animation-delay: 0s; }
.logo:hover span:nth-child(2) { animation-delay: 0.05s; }
.logo:hover span:nth-child(3) { animation-delay: 0.1s; }
.logo:hover span:nth-child(4) { animation-delay: 0.15s; }
.logo:hover span:nth-child(5) { animation-delay: 0.2s; }
.logo:hover span:nth-child(6) { animation-delay: 0.25s; }
.logo:hover span:nth-child(7) { animation-delay: 0.3s; }
.logo:hover span:nth-child(8) { animation-delay: 0.35s; }

@keyframes logoWave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: white;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0, 1);
}

.nav-links a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-number {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    opacity: 0.5;
    margin-right: 0.3rem;
}

/* Menu Button */
.menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.menu-btn span {
    width: 30px;
    height: 2px;
    background: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0, 1);
    transform-origin: center;
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 8%;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    margin-top: 48px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-eyebrow .line {
    width: 60px;
    height: 1px;
    background: var(--accent-1);
}

.hero-eyebrow span {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: var(--accent-1);
    letter-spacing: 3px;
}

.hero-title {
    font-size: clamp(4rem, 4.5vw, 8rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -5px;
    margin-bottom: 3rem;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .line-inner {
    display: block;
    transform: translateY(100%);
}

.hero-title .line:nth-child(2) .line-inner {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-cta {
    display: flex;
    gap: 2rem;
    opacity: 0;
    transform: translateY(30px);
}

.btn-magnetic {
    position: relative;
    display: block;
    padding: 1.2rem 3rem;
    font-family: 'Syne', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    overflow: hidden;
    transition: color 0.4s ease;
}

.btn-primary {
    background: var(--accent-1);
    color: var(--bg-primary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-2);
    transform: translateX(-101%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0, 1);
}

.btn-primary:hover::before {
    transform: translateX(0);
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    transform: translateY(101%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0, 1);
}

.btn-outline:hover::before {
    transform: translateY(0);
}

.btn-outline span {
    position: relative;
    z-index: 1;
}

.btn-outline:hover {
    color: var(--bg-primary);
}

/* Hero Visual */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 600px;
    aspect-ratio: 1;
    z-index: 1;
}

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%) contrast(1.1);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.hero-image:hover img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.05);
}

.hero-image-1 {
    width: 70%;
    height: 80%;
    top: 10%;
    left: 0;
    z-index: 3;
}

.hero-image-2 {
    width: 50%;
    height: 60%;
    bottom: 5%;
    right: 0;
    z-index: 2;
}

.hero-image-3 {
    width: 35%;
    height: 40%;
    top: 0;
    right: 15%;
    z-index: 1;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    z-index: 10;
    pointer-events: none;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--accent-1), transparent, var(--accent-2));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-image:hover::after {
    opacity: 1;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    border: 1px solid var(--accent-1);
    border-radius: 50%;
    top: 10%;
    left: 5%;
    animation: rotate 30s linear infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    border: 1px solid var(--accent-2);
    top: 60%;
    right: 10%;
    animation: rotate 20s linear infinite reverse;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-3), transparent);
    top: 20%;
    right: 20%;
    animation: float 6s ease-in-out infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
}

.scroll-indicator span {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--text-secondary);
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-1), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* Section Styles */
section {
    position: relative;
    z-index: 2;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.section-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    letter-spacing: -3px;
    line-height: 1;
    text-transform: uppercase;
}

.section-title .word {
    display: inline-block;
    overflow: hidden;
}

.section-title .word span {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0, 1);
}

.section-title.animate .word span {
    transform: translateY(0);
}

.section-title .word:nth-child(2) span {
    transition-delay: 0.1s;
}

.section-title .accent {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-number {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

/* Skills / Přístup Section */
#skills, #pristup {
    padding: 10rem 8%;
    background: var(--bg-secondary);
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
    margin: -5rem 0;
    padding-top: 15rem;
    padding-bottom: 15rem;
}

/* Other Czech sections — uniform spacing */
#mereni, #faq, #stack, #o-mne {
    padding: 8rem 0 4rem;
}
#mereni > .section-header,
#faq > .section-header,
#stack > .section-header,
#o-mne > .section-header {
    padding-left: 8%;
    padding-right: 8%;
}
#mereni {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}
#stack {
    background: var(--bg-secondary);
    margin-top: -2rem;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.skill-card {
    position: relative;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0, 1);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.skill-card:hover::before {
    opacity: 0.05;
}

.skill-card:hover {
    border-color: rgba(0, 255, 170, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 255, 170, 0.1);
}

.skill-number {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent-1);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.skill-card:hover .skill-icon {
    filter: grayscale(0%);
}

.skill-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.skill-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.skill-card .skill-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    transition: width 0.5s cubic-bezier(0.4, 0, 0, 1);
}

.skill-card:hover .skill-line {
    width: 100%;
}

/* Projects / Packages Section */
#projects, #balicky {
    padding: 10rem 8% 4rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: none;
}

.project-card:nth-child(even) {
    transform: translateY(4rem);
}

.project-image-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 20px;
}

.project-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0, 1), filter 0.5s ease;
    filter: grayscale(50%);
}

.project-card:hover .project-image-wrapper img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0, 1);
}

.project-card:hover .project-content {
    transform: translateY(0);
    opacity: 1;
}

.project-category {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent-1);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.project-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.project-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 255, 170, 0.1);
    border: 1px solid rgba(0, 255, 170, 0.3);
    border-radius: 20px;
    color: var(--accent-1);
}

.project-link {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--accent-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0) rotate(-45deg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0, 1);
}

.project-link svg {
    width: 24px;
    height: 24px;
    fill: var(--bg-primary);
}

.project-card:hover .project-link {
    transform: scale(1) rotate(0deg);
}

/* Experience / Process Section */
#experience, #proces {
    padding: 10rem 8%;
    background: var(--bg-secondary);
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
    margin-top: -5rem;
    padding-top: 15rem;
}

.experience-container {
    max-width: 1200px;
    margin: 0 auto;
}

.experience-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 4rem;
    padding: 4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.5s ease;
}

.experience-item:hover {
    padding-left: 2rem;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 60%;
    background: linear-gradient(to bottom, var(--accent-1), var(--accent-2));
    transition: width 0.5s cubic-bezier(0.4, 0, 0, 1);
}

.experience-item:hover::before {
    width: 3px;
}

.experience-year {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: var(--accent-1);
}

.experience-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.experience-item:hover .experience-content h3 {
    color: var(--accent-1);
}

.experience-company {
    font-size: 1.1rem;
    color: var(--accent-2);
    margin-bottom: 1rem;
}

.experience-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
}

/* Contact Section */
#contact, #kontakt {
    padding: 10rem 8%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.contact-header {
    margin-bottom: 5rem;
}

.contact-title {
    font-size: clamp(3rem, 3vw, 8rem);
    font-weight: 800;
    letter-spacing: -4px;
    line-height: 1;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.contact-title .line {
    display: block;
    overflow: hidden;
}

.contact-title .line span {
    display: inline-block;
}

.contact-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.contact-card {
    position: relative;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0, 1);
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.contact-card:hover::before {
    opacity: 0.1;
}

.contact-card:hover {
    transform: translateY(-10px) rotate(2deg);
    border-color: var(--accent-1);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0, 1);
}

.contact-card:hover .contact-icon {
    transform: scale(1.2) rotate(-10deg);
}

.contact-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* Large CTA */
.contact-cta {
    margin-top: 5rem;
    text-align: center;
}

.cta-email {
    display: inline-block;
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    position: relative;
    padding: 1rem 0;
}

.cta-email::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0, 1);
}

.cta-email:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Footer */
footer {
    padding: 3rem 8%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-right {
    display: flex;
    gap: 2rem;
}

.social-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    position: relative;
}

.social-link:hover {
    color: var(--accent-1);
}

/* Marquee */
.marquee-container {
    overflow: hidden;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding-right: 4rem;
}

.marquee-item {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
}

.marquee-item:hover {
    color: var(--accent-1);
}

.marquee-dot {
    width: 12px;
    height: 12px;
    background: var(--accent-2);
    border-radius: 50%;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Progress Bar */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.1);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3));
    width: 0%;
    transition: width 0.1s ease;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: var(--accent-1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0, 1);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-2);
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    fill: var(--bg-primary);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-visual {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin-top: 4rem;
        right: 0;
        transform: none;
    }

    .hero {
        flex-direction: column;
        padding-top: 8rem;
    }

    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor-main, .cursor-trail, .cursor-glow {
        display: none;
    }

    .menu-btn {
        display: flex;
    }

    .menu-btn {
        position: relative;
        z-index: 9999;
    }

    .loader-text{
        font-size: clamp(2.2rem, 5vw, 3rem);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: #0a0a0feb;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.4, 0, 0, 1);
        z-index: 9998;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .hero-title {
        letter-spacing: -2px;
    }

    .hero-visual {
        display: none;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card:nth-child(even) {
        transform: none;
    }

    .experience-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #skills, #experience, #pristup, #proces {
        clip-path: none;
        margin: 0;
        padding: 8rem 5%;
    }

    footer {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================ */
/* STUDIO SIGNÁL — Extended sections             */
/* ============================================ */

/* Hero meta strip (top of hero) */
.hero-topline {
    position: absolute;
    top: 6rem;
    left: 8%;
    right: 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 3;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-topline .coords span + span { margin-left: 1.2rem; }
.hero-topline .status {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--accent-1);
}
.hero-topline .status .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent-1);
    box-shadow: 0 0 14px var(--accent-1);
    animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.35); }
}
@media (max-width: 768px) {
    .hero-topline { position: relative; top: 0; left: 0; right: 0; padding: 1rem 0 2rem; }
}

/* Hero stats strip */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-stats .stat {
    background: var(--bg-primary);
    padding: 1.4rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.hero-stats .stat .num {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.7rem;
    letter-spacing: -1px;
    color: var(--text-primary);
}
.hero-stats .stat .num em {
    font-style: normal;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-stats .stat .lbl {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    text-transform: uppercase;
}
@media (max-width: 768px) {
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Packages cards */
.packages-container {
    padding: 0 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}
@media (max-width: 1100px) { .packages-container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .packages-container { grid-template-columns: 1fr; } }

.pkg-card {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: transform 0.5s ease, border-color 0.5s ease, background 0.5s ease;
    overflow: hidden;
}
.pkg-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    mix-blend-mode: overlay;
}
.pkg-card:hover { transform: translateY(-8px); border-color: var(--accent-1); }
.pkg-card:hover::before { opacity: 0.08; }
.pkg-card > * { position: relative; z-index: 1; }

.pkg-card.featured {
    border-color: var(--accent-1);
    background: linear-gradient(180deg, rgba(0, 255, 170, 0.04), var(--bg-secondary));
}
.pkg-card.featured .pkg-badge {
    background: var(--accent-1);
    color: var(--bg-primary);
}

.pkg-label {
    display: flex;
    justify-content: space-between;
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
    text-transform: uppercase;
}
.pkg-label .pkg-badge {
    padding: 0.2rem 0.6rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}
.pkg-name {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
}
.pkg-price {
    font-family: 'Syne', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.pkg-price sub {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    font-family: 'Space Mono', monospace;
    color: var(--text-secondary);
    -webkit-text-fill-color: var(--text-secondary);
    margin-top: 0.6rem;
    letter-spacing: 1px;
}
.pkg-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}
.pkg-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0.4rem 0;
}
.pkg-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex-grow: 1;
}
.pkg-features li {
    position: relative;
    padding-left: 1.3rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.5;
}
.pkg-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-1);
    font-weight: 700;
}
.pkg-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}
.pkg-meta strong {
    display: block;
    color: var(--text-primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
    font-size: 0.68rem;
}

.pkg-note {
    grid-column: 1 / -1;
    background: var(--bg-secondary);
    border-left: 3px solid var(--accent-2);
    padding: 1.4rem 1.8rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 1rem;
}
.pkg-note strong { color: var(--text-primary); }
.pkg-note em {
    font-style: normal;
    color: var(--accent-1);
    font-weight: 600;
}

/* Tracking section */
.tracking-section {
    padding: 0 8% 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}
@media (max-width: 1024px) {
    .tracking-section { grid-template-columns: 1fr; }
}
.tracking-copy h3 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}
.tracking-copy h3 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--accent-2), var(--accent-3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.tracking-copy p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}
.tracking-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    list-style: none;
    margin-bottom: 2.2rem;
}
.tracking-checks li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 0.92rem;
    color: var(--text-primary);
}
.tracking-checks li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--accent-1);
}

.live-panel {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.6rem;
    font-family: 'Space Mono', monospace;
}
.lp-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.2rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}
.lp-head b { color: var(--accent-1); font-weight: 700; }
.lp-dots { display: flex; gap: 6px; }
.lp-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}
.lp-dots span:first-child { background: var(--accent-2); }
.lp-dots span:nth-child(2) { background: var(--accent-1); }

.lp-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.4rem;
}
.lp-metric {
    background: var(--bg-primary);
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.lp-metric.flash {
    border-color: var(--accent-1);
    box-shadow: 0 0 18px rgba(0, 255, 170, 0.25);
}
.lp-metric .m-label {
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}
.lp-metric .m-value {
    font-family: 'Syne', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-1);
}
.lp-metric .m-delta {
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-top: 0.4rem;
}

.lp-chart { margin-bottom: 1.4rem; }
.c-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 0.6rem;
}
.lp-chart svg { width: 100%; height: 60px; display: block; }

.lp-funnel { margin-bottom: 1.4rem; }
.funnel-row {
    display: grid;
    grid-template-columns: 1fr 80px;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 0.5rem;
}
.funnel-bar {
    position: relative;
    height: 22px;
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
}
.funnel-bar .fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.funnel-bar .lbl {
    position: relative;
    z-index: 1;
    display: block;
    padding: 0 0.8rem;
    line-height: 22px;
    font-size: 0.72rem;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    mix-blend-mode: difference;
}
.funnel-val {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
    text-align: right;
}

.lp-events {
    background: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.evt-header {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}
.live-dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-1);
    margin-right: 0.4rem;
    animation: pulse 1.6s infinite;
}
.evt-list { max-height: 175px; overflow: hidden; }
.evt {
    display: grid;
    grid-template-columns: 70px 1fr 100px;
    gap: 0.6rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.72rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    animation: slideIn 0.4s ease;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.evt .t { color: var(--text-secondary); }
.evt .n { color: var(--text-primary); }
.evt .n.conv { color: var(--accent-1); font-weight: 700; }
.evt .v { color: var(--text-secondary); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* FAQ */
.faq-container {
    padding: 0 8% 4rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}
@media (max-width: 1024px) { .faq-container { grid-template-columns: 1fr; gap: 2rem; } }
.faq-intro p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 1rem;
}
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: border-color 0.4s ease;
}
.faq-item.open { border-color: var(--accent-1); }
.faq-q {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 1.4rem 1.6rem;
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq-q .mark {
    display: inline-block;
    width: 22px; height: 22px;
    position: relative;
    flex-shrink: 0;
}
.faq-q .mark::before,
.faq-q .mark::after {
    content: '';
    position: absolute;
    background: var(--accent-1);
    transition: transform 0.3s ease;
}
.faq-q .mark::before {
    top: 50%; left: 0; right: 0;
    height: 2px;
    transform: translateY(-50%);
}
.faq-q .mark::after {
    top: 0; bottom: 0; left: 50%;
    width: 2px;
    transform: translateX(-50%);
}
.faq-item.open .faq-q .mark::after { transform: translateX(-50%) scaleY(0); }

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner {
    padding: 0 1.6rem 1.6rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}
.faq-a-inner p { margin-bottom: 0.8rem; }
.faq-a-inner p:last-child { margin-bottom: 0; }
.faq-a-inner strong { color: var(--text-primary); font-weight: 700; }

/* Stack */
.stack-container {
    padding: 0 8% 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}
@media (max-width: 900px) { .stack-container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .stack-container { grid-template-columns: 1fr; } }
.stack-cat {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.6rem;
    transition: border-color 0.4s ease, transform 0.4s ease;
}
.stack-cat:hover { border-color: var(--accent-2); transform: translateY(-4px); }
.stack-cat h4 {
    font-family: 'Space Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-1);
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.stack-cat ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.stack-cat li {
    padding: 0.35rem 0.75rem;
    background: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'Space Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-primary);
    transition: color 0.3s, border-color 0.3s;
}
.stack-cat li:hover { color: var(--accent-1); border-color: var(--accent-1); }

/* About */
.about-container {
    padding: 0 8% 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}
@media (max-width: 1024px) { .about-container { grid-template-columns: 1fr; } }
.about-quote {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    line-height: 1.25;
    letter-spacing: -1px;
    color: var(--text-primary);
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid var(--accent-1);
}
.about-quote em {
    font-style: normal;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.about-details h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}
.about-details h3 span { color: var(--text-secondary); font-weight: 400; }
.about-details p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.98rem;
}
.about-details strong { color: var(--text-primary); }
.about-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin-top: 1.8rem;
}
.about-fact {
    background: var(--bg-primary);
    padding: 1.2rem;
}
.about-fact .f-num {
    font-family: 'Syne', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.about-fact .f-num em {
    font-style: normal;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.about-fact .f-lbl {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

/* Generic section-intro */
.section-intro {
    padding: 0 8% 3rem;
    max-width: calc(60ch + 16%);
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0 auto;
}

/* Experience step accent */
.experience-step-no {
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: var(--accent-2);
    display: block;
    margin-bottom: 0.4rem;
}

/* Cursor: allow normal cursor on touch */
@media (hover: none) {
    body { cursor: auto; }
    a, button { cursor: auto; }
    .cursor-container { display: none; }
}

/* ============================================ */
/* MOBILE — comprehensive overrides             */
/* ============================================ */
@media (max-width: 768px) {
    /* Nav — remove blend mode so fixed children position correctly */
    nav {
        mix-blend-mode: normal;
    }

    /* Hero */
    .hero {
        padding: 7rem 5% 4rem;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(2.6rem, 10vw, 4rem);
        letter-spacing: -2px;
        margin-bottom: 1.5rem;
        font-weight: 800;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-magnetic {
        text-align: center;
        width: 100%;
    }

    .hero-stats {
        margin-top: 2.5rem;
    }

    /* Section titles */
    .section-title {
        font-size: 24px;
        letter-spacing: -2px;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    /* Section intro */
    .section-intro {
        padding: 0 5% 2.5rem;
    }

    /* Approach */
    #pristup {
        padding: 6rem 5%;
    }

    /* Packages */
    #balicky {
        padding: 6rem 5% 3rem;
    }

    /* Tracking / Measurement */
    #mereni {
        padding: 6rem 0 3rem;
    }
    #mereni > .section-header {
        padding-left: 5%;
        padding-right: 5%;
    }
    .tracking-section {
        padding: 0 5% 3rem;
        gap: 2.5rem;
    }
    .tracking-checks {
        grid-template-columns: 1fr;
    }
    .lp-metrics {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    .lp-metric .m-value {
        font-size: 1.2rem;
    }
    .lp-head {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .evt {
        grid-template-columns: 60px 1fr 80px;
    }

    /* Process */
    #proces {
        padding: 6rem 5%;
    }

    /* FAQ */
    #faq {
        padding: 6rem 0 3rem;
    }
    #faq > .section-header {
        padding-left: 5%;
        padding-right: 5%;
    }
    .faq-container {
        padding: 0 5% 3rem;
        gap: 1.5rem;
    }

    /* Stack */
    #stack {
        padding: 6rem 0 3rem;
        margin-top: 0;
    }
    #stack > .section-header {
        padding-left: 5%;
        padding-right: 5%;
    }
    .stack-container {
        padding: 0 5% 3rem;
    }

    /* About */
    #o-mne {
        padding: 6rem 0 3rem;
    }
    #o-mne > .section-header {
        padding-left: 5%;
        padding-right: 5%;
    }
    .about-container {
        padding: 0 5% 3rem;
        gap: 2.5rem;
    }
    .about-facts {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Contact */
    #kontakt {
        padding: 6rem 5% 3rem;
        min-height: auto;
    }
    .contact-title {
        font-size: clamp(2.2rem, 9vw, 4rem);
        letter-spacing: -2px;
    }
    .contact-subtitle {
        font-size: 1rem;
    }
    .contact-header {
        margin-bottom: 3rem;
    }

    /* Footer */
    .footer-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    /* Marquee */
    .marquee-item {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2.2rem, 5vw, 3rem);
    }

    .about-facts {
        grid-template-columns: 1fr;
    }

    .lp-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-shape,
    .scroll-line,
    .marquee,
    .dot,
    .live-dot,
    .loader-text,
    .loader-bar {
        animation: none !important;
        transition: none !important;
    }
}
