/* style.css - Srovname.cz Premium Landing Page */

:root {
    --primary-color: #e60000; /* Srovname red */
    --primary-hover: #cc0000;
    --secondary-color: #ff6b00; /* Vibrant accent if needed */
    --secondary-hover: #e65c00;
    
    --bg-dark: #0f172a; /* Slate 900 */
    --bg-darker: #020617; /* Slate 950 */
    --bg-light: #f8fafc; /* Slate 50 */
    --bg-white: #ffffff;
    
    --text-main: #334155; /* Slate 700 */
    --text-light: #64748b; /* Slate 500 */
    --text-on-dark: #f1f5f9; /* Slate 100 */
    
    --border-color: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--bg-darker);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

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

.section-lead.text-center {
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: var(--primary-color);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark-alt {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--text-on-dark);
}

.bg-dark-alt h1, .bg-dark-alt h2, .bg-dark-alt h3, .bg-dark-alt h4 {
    color: white;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.glass:hover {
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.95);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(230, 0, 0, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 0, 0, 0.23);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border-color: var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 40px;
    display: block;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

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

.main-nav a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    gap: 1rem;
}

.header-actions .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }
    .header-actions .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    .site-header .logo img {
        height: 32px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    background: var(--bg-light);
    color: var(--text-main);
    overflow: hidden;
}

.hero h1, .hero h2 { color: var(--bg-darker); }
.hero .highlight { color: var(--primary-color); }

.hero-dark-split {
    background: #0f172a;
    color: white;
}
.hero-dark-split h1, .hero-dark-split h2, .hero-dark-split .hero-subtitle, .hero-dark-split .stat-value {
    color: white;
}
.hero-dark-split .stat-label {
    color: #cbd5e1;
}
.hero-dark-split .stat-divider {
    background-color: rgba(255, 255, 255, 0.2);
}
.hero-dark-split .glass {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}
.hero-dark-split .hero-bg-grid, .hero-dark-split .hero-bg-glow {
    display: none;
}

.hero-bg-glow {
    position: absolute;
    top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(230,0,0,0.1) 0%, rgba(248,250,252,0) 70%);
    z-index: 0;
}

.hero-bg-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    opacity: 0.5;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1.2;
    text-align: left;
    max-width: 650px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-stats-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2.5rem;
    border-radius: 16px;
    margin-top: 1rem;
    gap: 1.5rem;
}

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

.stat-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.stat-value {
    font-weight: 800;
    color: var(--bg-darker);
    font-size: 1.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

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

.hero-corner-stat {
    position: absolute;
    bottom: -2rem;
    left: 0;
    padding: 1.5rem 2.5rem;
    border-radius: 16px;
    z-index: 10;
}


/* Dashboard Visual */
.hero-visual {
    flex: 1;
    position: relative;
    margin-right: -4rem; /* Pull slightly outside the container */
}

.dashboard-wrapper {
    position: relative;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    background: white;
    padding: 10px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) scale(1.0);
    transition: transform 0.5s ease;
}

.dashboard-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
}

/* Dashboard Visual - Replaced by Full Bleed Image */
.hero-bg-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 50vw;
    height: 100%;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center left;
}

.hero-pre-title {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.hero-deloitte-badge {
    position: absolute;
    top: 6rem;
    right: 4rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    width: 260px;
}

.hero-deloitte-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.hero-deloitte-text {
    display: flex;
    flex-direction: column;
}

.hero-deloitte-text img {
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left bottom;
    display: block;
    margin-bottom: 0.15rem;
}

.fast-50-text {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--bg-darker);
    line-height: 1;
    letter-spacing: 0.5px;
}

.hero-deloitte-badge p {
    font-size: 0.75rem;
    color: var(--text-main);
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}

@media (max-width: 992px) {
    .hero-wrapper { flex-direction: column; text-align: center; }
    .hero-content { max-width: 100%; text-align: center; padding-top: 2rem; }
    .hero-cta { justify-content: center; }
    .hero-stats-bar { flex-direction: column; text-align: center; gap: 1rem; padding: 1.5rem; }
    .stat-header { justify-content: center; }
    .stat-divider { width: 100%; height: 1px; }
    
    .hero-corner-stat {
        position: relative;
        bottom: 0;
        margin-top: 2rem;
        display: inline-block;
    }
    .hero-bg-right {
        position: relative;
        width: 100%;
        height: 400px;
        margin-top: 3rem;
    }
    .hero-deloitte-badge {
        position: relative;
        top: auto;
        right: auto;
        margin: 2rem auto 0;
        transform: none;
    }
}

/* Trusted By Marquee */
.trusted-by-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bg-darker);
    margin-bottom: 2.5rem;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    margin-bottom: 3rem;
}

.marquee-container::before, .marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.marquee-content {
    display: inline-flex;
    gap: 3rem;
    align-items: center;
    animation: scroll 35s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-item {
    border: 1px solid var(--border-color);
    padding: 1rem 2rem;
    border-radius: 12px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.marquee-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.05);
}

.marquee-item img {
    height: 45px;
    object-fit: contain;
    max-width: 150px;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.trusted-badge-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 650px;
    margin: 0 auto;
    text-align: left;
    padding: 1.5rem 2rem;
    background: var(--bg-light);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

/* About / Nejsme jen srovnavac */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.about-card {
    padding: 3rem;
    border-radius: 16px;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
}

.highlight-card {
    background: var(--bg-dark);
    color: white;
    border: none;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

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

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

.channel-card {
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

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

.channel-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.channel-card .status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
}

.benefit-card {
    grid-column: span 2;
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
}

.benefit-card:nth-child(1), .benefit-card:nth-child(2) {
    grid-column: span 3;
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .benefit-card, .benefit-card:nth-child(1), .benefit-card:nth-child(2) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .benefit-card, .benefit-card:nth-child(1), .benefit-card:nth-child(2) {
        grid-column: span 1;
    }
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.benefit-card .takeaway {
    font-weight: 600;
    color: var(--primary-color);
}

/* How it works */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 0 10px var(--bg-light);
}

.step h3 {
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-light);
}

.step-connector {
    flex: 0.5;
    height: 2px;
    background: var(--border-color);
    margin-top: 30px;
}

/* Reference a pripadovky */
.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
}

.slider-arrow {
    background: white;
    border: 1px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 10;
    transition: var(--transition);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: var(--text-main);
}
.slider-arrow:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
.slider-arrow.prev {
    left: -22px;
}
.slider-arrow.next {
    right: -22px;
}

.reviews-grid, .casestudies-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 1rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    flex-wrap: nowrap;
    width: 100%;
}

.reviews-grid::-webkit-scrollbar, .casestudies-container::-webkit-scrollbar {
    display: none;
}

.review-card, .casestudy-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    min-width: 300px;
    scroll-snap-align: start;
    height: auto;
}

.review-card {
    padding: 2rem;
    border-radius: 12px;
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.quote {
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.author strong {
    color: var(--bg-darker);
}

.author span {
    color: var(--text-light);
    font-size: 0.875rem;
}

.casestudy-card {
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
    color: var(--text-main);
}

.casestudy-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.cs-logo {
    width: 80px;
    flex-shrink: 0;
}

.cs-logo img {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: multiply;
}

.cs-text {
    font-weight: 600;
    line-height: 1.4;
}

.cs-arrow {
    margin-left: auto;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* History Timeline */
.history .section-title {
    margin-bottom: 4rem;
}

.history-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.history-text {
    flex: 1;
    font-size: 1.125rem;
}

.history-text p {
    margin-bottom: 1rem;
}

.history-text ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.timeline {
    flex: 1;
    padding-left: 2.5rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 0;
    padding-bottom: 2.5rem;
    padding-left: 2rem;
    border-left: 2px solid var(--primary-color);
}

.timeline-item.past {
    border-left-color: #475569;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 4px solid var(--bg-light);
    z-index: 2;
}

.timeline-item.past::before {
    background: #475569;
}

.timeline-year {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.timeline-item.past .timeline-year {
    color: #475569;
}

.timeline-desc {
    font-size: 1.125rem;
    color: var(--bg-darker);
    font-weight: 500;
}

.new-era-text {
    position: absolute;
    left: -4rem;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--primary-color);
    opacity: 0.8;
}

.milestone-2025 {
    border-left-width: 3px;
}

.milestone-2025 .timeline-year {
    font-size: 2.5rem;
    text-shadow: 0 0 15px rgba(230, 0, 0, 0.2);
}

.milestone-shield {
    height: 180px;
    width: auto;
    margin-top: 0.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: block;
}

.timeline-arrow {
    position: relative;
    height: 70px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), rgba(230,0,0,0));
}

.timeline-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    transform: rotate(45deg);
    opacity: 0.6;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.team-card {
    padding: 2rem;
    border-radius: 12px;
}

.team-img-wrap {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    background: var(--bg-light);
}

.team-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    margin-bottom: 0.25rem;
}

.team-position {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.team-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.team-contact {
    display: inline-block;
    font-size: 0.875rem;
}

.team-social {
    color: #0a66c2;
    font-size: 1.25rem;
    transition: var(--transition);
}

.team-social:hover {
    color: var(--bg-darker);
    transform: translateY(-2px);
}

/* Final CTA */
.final-cta {
    background: var(--bg-darker);
    color: white;
}

.final-cta h2 {
    color: white;
    font-size: 3rem;
}

.mt-8 { margin-top: 2rem; }

/* Footer */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Scroll Reveal classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .history-content {
        flex-direction: column;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .step-connector {
        width: 2px;
        height: 30px;
        margin: 15px 0;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .main-nav {
        display: none; /* Hide on mobile for simplicity in this version */
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Marquee / Logos */
.logos-marquee {
    overflow: hidden;
    background: var(--bg-white);
    padding: 3rem 0;
    white-space: nowrap;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}
.logos-marquee::before, .logos-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}
.logos-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-white) 0%, transparent 100%);
}
.logos-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-white) 0%, transparent 100%);
}
.logos-track {
    display: inline-block;
    animation: marquee 30s linear infinite;
}
.logos-track:hover {
    animation-play-state: paused;
}
.logo-item {
    display: inline-block;
    vertical-align: middle;
    margin: 0 3rem;
    height: 45px;
    opacity: 0.5;
    transition: var(--transition);
    filter: grayscale(100%);
}
.logo-item img {
    height: 100%;
    width: auto;
    display: block;
    mix-blend-mode: multiply;
}
.logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Platform Flow (Nejsme jen srovnavac) */
.platform-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1100px;
    margin: 3rem auto 0;
    flex-wrap: nowrap;
}

.flow-step {
    flex: 1;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    z-index: 2;
}

.flow-step.main-hub {
    flex: 1.5;
    background: var(--bg-white);
    border: 2px dashed var(--primary-color);
    box-shadow: var(--shadow-lg);
    border-radius: 24px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flow-arrow {
    flex: 0 0 50px;
    color: var(--text-light);
    font-size: 1.5rem;
    text-align: center;
    z-index: 1;
}

.flow-list {
    list-style: none;
    text-align: left;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.flow-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.flow-list li i {
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.flow-channels {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}
.flow-channel-item {
    background: var(--bg-light);
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border-color);
}

.flow-final {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff4b4b 100%);
    color: white;
    border: none;
    box-shadow: 0 10px 25px rgba(230, 0, 0, 0.4);
}
.flow-final .flow-list li i {
    color: white;
}

.optional-text {
    font-size: 0.8em;
    color: var(--text-light);
    font-weight: normal;
}

@keyframes intense-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 0, 0, 0.6); }
    50% { transform: scale(1.05) translateY(-5px); box-shadow: 0 15px 30px rgba(230, 0, 0, 0.4), 0 0 0 15px rgba(230, 0, 0, 0.2); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 0, 0, 0); }
}

.pulse-anim-intense {
    animation: intense-pulse 1.5s infinite ease-in-out;
}

@media (max-width: 992px) {
    .platform-flow {
        flex-direction: column;
    }
    .flow-step.main-hub {
        border-radius: 16px;
        padding: 2rem;
    }
    .flow-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
}

/* Trusted By */
.trusted-layout {
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.trusted-logos-left {
    flex: 1;
    min-width: 300px;
}
.trusted-title {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.trusted-logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}
.trusted-logo-img {
    max-height: 30px;
    width: auto;
    max-width: 100%;
    filter: grayscale(100%) opacity(0.6);
    mix-blend-mode: multiply;
}
.trusted-deloitte-right {
    flex: 1.2;
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}
.trusted-deloitte-img {
    width: 180px;
    height: auto;
    border-radius: 12px;
    object-fit: contain;
    flex-shrink: 0;
}
.trusted-deloitte-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--bg-darker);
    line-height: 1.3;
}
.trusted-deloitte-subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

@media (max-width: 768px) {
    .trusted-layout {
        gap: 2.5rem;
    }
    .trusted-deloitte-right {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
}

/* History Stats Card */
.history-stats-card {
    margin-top: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 3rem;
    border-radius: 20px;
    flex-wrap: wrap;
    gap: 2rem;
}
.h-stats-left {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    min-width: 300px;
}
.h-stats-badge {
    flex-shrink: 0;
}
.h-stats-badge img {
    width: 250px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}
.h-stats-divider {
    width: 1px;
    height: 85px;
    background-color: var(--border-color);
}
.h-stats-text {
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.6;
}
.h-stats-right {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.h-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.h-stat-item i {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}
.h-stat-item i.fa-arrow-trend-up {
    font-size: 2.5rem;
}
.h-stat-year {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bg-darker);
    margin-bottom: 0.25rem;
}
.h-stat-year-large {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bg-darker);
    margin-bottom: 0.5rem;
}
.h-stat-val {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}
.h-stat-val-large {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}
.h-stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    margin-top: 0.25rem;
}
.h-stat-label-large {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-top: 0.5rem;
}

@media (max-width: 992px) {
    .history-stats-card {
        flex-direction: column;
        padding: 2rem;
        gap: 3rem;
    }
    .h-stats-left {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .h-stats-divider {
        width: 80px;
        height: 1px;
    }
    .h-stats-right {
        justify-content: center;
        gap: 2.5rem;
    }
}
@media (max-width: 768px) {
    .h-stat-val-large {
        font-size: 3rem;
    }
}

/* Video Container */
.video-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 4rem auto 0;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    background: var(--bg-darker);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    width: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .video-wrapper {
        margin-top: 2.5rem;
        border-radius: 12px;
    }
}
