/**
 * Base Design System & CSS Variables
 */

:root {
    /* Colors - Deep Dark Theme with Amber/Orange glow */
    --clr-bg-darker: #050505;
    --clr-bg-dark: #0a0a0a;
    --clr-bg-card: rgba(25, 25, 25, 0.4);

    --clr-accent: #ff6b00;
    --clr-accent-hover: #ff8533;
    --clr-accent-light: rgba(255, 107, 0, 0.15);

    --clr-text-main: #f5f5f5;
    --clr-text-muted: #a3a3a3;
    --clr-border: rgba(255, 255, 255, 0.08);
    --clr-white: #ffffff;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Effects */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;

    --shadow-glow: 0 0 40px rgba(255, 107, 0, 0.15);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-darker);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--space-2xl) 0;
    position: relative;
    z-index: 1;
}

.bg-darker {
    background-color: var(--clr-bg-dark);
}

.text-accent {
    color: var(--clr-accent);
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Components */
.glass-card {
    background: var(--clr-bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-glow);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
}

.btn-large {
    padding: 1.15rem 2.25rem;
    font-size: 1.15rem;
}

.btn-xl {
    padding: 1.4rem 2.75rem;
    font-size: 1.35rem;
}

.btn-primary {
    background: var(--clr-accent);
    color: var(--clr-white);
    /* Set initial shadow, will be animated by GSAP */
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
    background: var(--clr-accent-hover);
}

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

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

.btn .arrow {
    margin-left: 0.5rem;
    transition: transform var(--transition-fast);
}

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

/* Section Headers */
.section-header {
    margin-bottom: var(--space-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-subtitle {
    color: var(--clr-accent);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

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

.section-description {
    color: var(--clr-text-muted);
    font-size: 1.125rem;
    max-width: 600px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 0;
    z-index: 100;
    transition: background-color var(--transition-normal), backdrop-filter var(--transition-normal), border-bottom var(--transition-normal);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background-color: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--clr-border);
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--clr-white);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--clr-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--clr-white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--clr-white);
    transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    /* Offset for fixed header */
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, var(--clr-accent-light) 0%, rgba(5, 5, 5, 0) 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    color: var(--clr-accent);
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.h1-line-wrapper {
    overflow: hidden;
    padding-bottom: 0.1em;
    /* brání oříznutí descenderů písma */
}

.h1-line {
    display: inline-block;
}

.hero-title span {
    color: var(--clr-accent);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.btn-glow {
    animation: breathing-glow 3s infinite ease-in-out;
}

@keyframes breathing-glow {
    0% {
        box-shadow: 0 0 15px rgba(255, 107, 0, 0.4);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 107, 0, 0.8), 0 0 10px rgba(255, 107, 0, 0.5) inset;
    }

    100% {
        box-shadow: 0 0 15px rgba(255, 107, 0, 0.4);
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--clr-bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-border);
    display: inline-flex;
}

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

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-white);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: var(--clr-border);
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glow-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--clr-accent);
    filter: blur(100px);
    opacity: 0.3;
    border-radius: 50%;
    z-index: 0;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

.founder-image-container {
    position: relative;
    z-index: 1;
    width: 85%;
    /* Re-zvětšeno dle instrukcí */
    aspect-ratio: 3 / 4;
    /* Vynutí přirozený poměr stran portrétní fotografie */
    height: auto;
    /* Zrušeno 90%, výška se dopočítá podle šířky */
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-main-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    /* Posun ostření trošku nahoru na tvář */
    display: block;
}

/* About Agency */
.about-agency-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-agency-content {
    order: 1;
    /* Keep text on the left */
}

.about-agency-image {
    order: 2;
    /* Keep image on the right */
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.agency-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

@media (max-width: 992px) {
    .about-agency-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-agency-content .section-title {
        text-align: center !important;
    }

    .about-agency-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Services */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
}

.services-grid > .service-card {
    flex: 1 1 300px;
    max-width: 400px;
    width: 100%;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--clr-accent-light);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 107, 0, 0.2);
}

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

.service-card p {
    color: var(--clr-text-muted);
}

/* Agency Portfolio - Click-to-Play */
.agency-portfolio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.video-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    cursor: pointer;
    background-color: #111;
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease-out;
    display: block;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--clr-white);
    transition: all var(--transition-fast);
    z-index: 2;
    pointer-events: none;
    /* Let clicks pass through to the card */
}

/* Hover effect on card applies to play button */
.video-card:hover:not(.is-playing) .play-button-overlay,
.video-testimonial-card:hover:not(.is-playing) .play-button-overlay {
    background: var(--clr-accent);
    border-color: var(--clr-accent);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Hide play overlay when video is playing */
.is-playing .play-button-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    color: white;
    transition: all 0.4s ease-out;
    pointer-events: none;
    z-index: 2;
}

.card-overlay h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.card-overlay p {
    color: var(--clr-text-muted);
    font-size: 0.875rem;
    margin: 0;
}

/* Hide play button and card overlay when video is playing */
.video-card.is-playing .play-button-overlay,
.video-card.is-playing .card-overlay {
    opacity: 0;
}

/* Optional zoom effect when playing */
.video-card.is-playing video {
    transform: scale(1.02);
}

/* Results grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.result-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.03), transparent);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
}

.result-number {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.result-text {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
}

/* Audience Grid */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

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

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

.audience-card p {
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
}

.audience-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.audience-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-text-main);
}

.audience-list li::before {
    content: '✓';
    color: var(--clr-accent);
    font-weight: bold;
}

/* Testimonials Mixed Grid Layout */
.testimonials-mixed-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .testimonials-mixed-grid {
        grid-template-columns: 4fr 6.5fr;
        align-items: center; /* zarovná video na střed vůči textovým recenzím */
    }
}

.video-testimonial-card {
    padding: 0 !important; /* override default .dark-card padding to let video touch edges */
    overflow: hidden;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    background: #000;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-content-below {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.text-testimonials-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* Dark Premium Testimonial Cards Layout */
.dark-card {
    background: #0f1013;
    /* Temné pozadí ze screenshotu */
    border: 1px solid rgba(255, 255, 255, 0.03);
    /* Elegantní rámeček */
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    /* height odstraněn pro flex-stretch chování a zamezení useknutí */
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.dark-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.rating {
    color: var(--clr-accent);
    margin-bottom: 1rem;
    font-size: 1.15rem;
    letter-spacing: 2px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    /* Lehounce ztlumená bílá ze screenshotu */
    font-weight: 300;
    /* Odlehčený řez působí luxusněji */
}

/* Jemná předělovací linka */
.testimonial-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
    margin-top: auto;
}

/* --- Exkluzivní chování videa v recenzích --- */
.video-testimonial {
    padding: 1rem;
    gap: 0;
    overflow: hidden;
    /* Pojistka – nic nepřeteče přes kartu */
}

.video-testimonial .video-container {
    position: relative;
    width: 100%;
    flex: 1;
    /* Vyplní veškerý volný prostor v kartě */
    min-height: 0;
    /* Důležité pro flex – povolí smrštění */
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--clr-bg);
}

.video-testimonial video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Zobrazí celé video bez ořezu */
    display: block;
}

.video-testimonial .play-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 0, 0.85);
    /* Accent barva průhledně */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: pointer;
    z-index: 10;
}

.video-testimonial .video-container:hover .play-indicator {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--clr-accent);
}

/* Skrýt indicator během přehrávání (řešeno případně přes JS is-playing class, nebo nativním controls overlayem) */
.video-testimonial.is-playing .play-indicator {
    opacity: 0;
    pointer-events: none;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.1);
    color: var(--clr-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
}

.client-name {
    font-size: 1rem;
    margin-bottom: 0.125rem;
}

.client-role {
    font-size: 0.875rem;
    color: var(--clr-text-muted);
}

/* Team Hover Reveal Section */
.team-reveal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.reveal-card {
    height: 540px;
    /* Portrétní formát */
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: transparent;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Base styles for both sides */
.rc-front,
.rc-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Front Face (Default) */
.rc-front {
    z-index: 2;
    background: var(--clr-bg-card);
    /* Fallback */
    justify-content: flex-end;
    /* Text dole */
}

.rc-front.text-background {
    background: #0f1013;
    /* Temné pozadí pro ty bez fotky */
    align-items: center;
    /* Initials in middle */
    justify-content: center;
}

.rc-front.photo-background {
    justify-content: flex-end;
    /* Text dole u fotky */
}

.rc-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 0.6s ease;
}

.rc-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(7, 7, 7, 0.95) 0%, rgba(7, 7, 7, 0.5) 40%, transparent 100%);
    z-index: -1;
}

.text-background .rc-gradient-overlay {
    background: linear-gradient(to top, rgba(15, 16, 19, 1) 0%, transparent 100%);
}

.rc-front-info {
    text-align: center;
    position: relative;
    z-index: 10;
    transform: translateY(0);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.text-background .rc-front-info {
    position: absolute;
    bottom: 2rem;
    width: calc(100% - 3rem);
}

.rc-avatar-large {
    font-size: 5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    /* Skoro neviditelné velké iniciály na pozadí */
    text-shadow: 0 0 40px rgba(255, 107, 0, 0.1);
    z-index: 0;
}

.rc-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: var(--clr-text-main);
}

.rc-role {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
}

/* Back Face (Hover State Reveal) */
.rc-back {
    z-index: 1;
    /* Původně pod Front levelem */
    transform: translateY(20px);
    /* Lehounce posunuté dolů pro náběh */
    opacity: 0;
    justify-content: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.accent-bg {
    /* Krásný premium dark orange tinted gradient (dle vzoru custom brand color) */
    background: linear-gradient(135deg, rgba(30, 15, 5, 0.95) 0%, rgba(40, 20, 5, 1) 100%);
}

.rc-back-header {
    margin-bottom: 1.5rem;
}

.rc-name-back {
    font-size: 1.5rem;
    color: var(--clr-text-main);
    margin-bottom: 0.25rem;
}

.rc-role-back {
    font-size: 0.85rem;
    color: var(--clr-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rc-desc {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Hover Effects */
.reveal-card:hover {
    transform: scale(1.02);
    /* Nadzvednutí celé karty */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 107, 0, 0.15);
    /* Jemná brand záře */
}

.reveal-card:hover .rc-front {
    opacity: 0;
    pointer-events: none;
    /* Už nejde klikat/vybírat front */
}

.reveal-card:hover .rc-front-info {
    transform: translateY(-10px);
    /* Text front vyjede lehce nahoru než zmizí */
}

.reveal-card:hover .rc-back {
    z-index: 10;
    opacity: 1;
    transform: translateY(0);
    /* Back efektně dorazí na místo */
}

/* Features List */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    padding-top: var(--space-lg);
}

.feature-item {
    padding: 1.5rem;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.03), transparent);
    border-left: 2px solid var(--clr-accent);
}

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

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: var(--space-2xl) 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.2) 0%, rgba(5, 5, 5, 0) 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1.25rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--clr-border);
    padding: var(--space-xl) 0 var(--space-lg);
    background: var(--clr-bg-dark);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand p {
    color: var(--clr-text-muted);
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--clr-white);
    font-weight: 500;
}

.social-links a:hover {
    color: var(--clr-accent);
}

.footer-links-group h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.footer-links a {
    color: var(--clr-text-muted);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* SVG Icons Style Override */
.feature-icon svg,
.service-icon svg,
.audience-icon svg {
    color: var(--clr-accent);
    width: 1em;
    height: 1em;
}

/* Animations (Intersection Observer Base Classes) */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

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

/* Responsive Overrides */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .hero-image-wrapper {
        aspect-ratio: 16/9;
        max-width: 600px;
        margin: 0 auto;
    }

    .result-number {
        font-size: 3rem;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    /* Stack the hover-reveal grid on tablet */
    .team-reveal-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        max-width: 100%;
    }

    .reveal-card {
        height: 400px;
    }

    /* Testimonials mixed grid stacks on tablet */
    .testimonials-mixed-grid {
        grid-template-columns: 1fr;
    }

    .video-testimonial-card {
        max-width: 450px;
        margin: 0 auto;
    }

    /* Portfolio grid 2 columns on tablet */
    .agency-portfolio {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Footer stack */
    .footer-top {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 768px) {

    /* Navigation */
    .nav-links,
    .nav-cta {
        display: none;
    }

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

    /* Mobile Menu Active State */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--clr-bg-darker);
        padding: 2rem;
        border-bottom: 1px solid var(--clr-border);
        text-align: center;
    }

    /* Hero */
    .hero {
        padding-top: 120px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-description {
        font-size: 1.05rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        width: 100%;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

    .hero-image-wrapper {
        aspect-ratio: 3/4;
        max-width: 320px;
    }

    .founder-image-container {
        width: 100%;
    }

    /* Section titles */
    .section-title {
        font-size: clamp(1.6rem, 6vw, 2.25rem);
    }

    .section {
        padding: var(--space-xl) 0;
    }

    /* About agency */
    .about-agency-grid {
        gap: var(--space-lg);
    }

    .about-agency-image {
        max-width: 100%;
    }

    /* Services */
    .services-grid {
        gap: var(--space-md);
    }

    .services-grid > .service-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .service-card {
        padding: 1.5rem;
    }

    /* Portfolio - single column on phone */
    .agency-portfolio {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .video-card {
        aspect-ratio: 9 / 14;
    }

    /* Results */
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .result-number {
        font-size: 2.25rem;
    }

    /* Audience */
    .audience-card {
        padding: 1.5rem;
    }

    /* Testimonials */
    .video-testimonial-card {
        max-width: 100%;
    }

    .video-wrapper {
        aspect-ratio: 9/14;
    }

    .testimonial-content-below {
        padding: 1.5rem;
    }

    .text-testimonials-column {
        gap: var(--space-md);
    }

    .testimonial-quote {
        font-size: 1rem;
    }

    /* Team */
    .team-reveal-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }

    .reveal-card {
        height: 450px;
    }

    /* CTA */
    .cta-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .cta-description {
        font-size: 1.05rem;
    }

    .btn-xl {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    /* Footer */
    .footer-top {
        text-align: center;
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom p {
        text-align: center;
        font-size: 0.8rem;
    }

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

/* Extra small devices */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding-top: 100px;
    }

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

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        padding: 1rem;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .btn-xl {
        padding: 0.85rem 1.75rem;
        font-size: 1rem;
    }
}