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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-weight: 400;
}

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

/* Icons */
.icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* Header - Hidden */
header {
    display: none;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    text-decoration: none;
    letter-spacing: -0.025em;
}

.logo-by {
    font-size: 0.875rem;
    font-weight: 400;
    color: #718096;
    margin-left: 0.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #667eea;
}

.cta-button {
    background: rgba(255, 255, 255, 0.95);
    color: #2d3748;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    background: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    position: relative;
}

.hero-cta-button {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.95);
    color: #2d3748;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.hero-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    background: white;
}

/* Desktop verze - Nový layout */
@media (min-width: 769px) {
    .hero {
        position: static;
    }
    
    .hero-content {
        align-items: flex-start;
        gap: 6rem;
    }
    
    .hero-text {
        padding-top: 0;
    }
    
    .hero-right-column {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding-top: 120px; /* Začíná pod logem */
    }
    
    .hero-image {
        width: 100%;
        max-height: 400px;
    }
    
    .hero-cta-button {
        position: static;
        display: block;
        width: fit-content;
        margin: 2rem auto;
        transform: none;
        align-self: center;
    }
    
    .hero-cta-centered {
        text-align: center;
        margin-top: 3rem;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

.hero-text {
    text-align: left;
}

.logo-section {
    margin-bottom: 2.5rem;
}

.main-logo {
    font-size: 4.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
    letter-spacing: -0.04em;
    display: inline-block;
}

.tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    margin-bottom: 2.5rem;
    letter-spacing: 0.025em;
    font-style: italic;
    margin-left: 0.5rem;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.6;
}

.hero-highlight {
    background: rgba(255, 255, 255, 0.9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.teya-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.025em;
    height: auto;
    line-height: 1.2;
}

.teya-logo {
    width: 8px;
    height: 8px;
    margin-right: 0.75rem;
    background: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.spot-on-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.025em;
    height: auto;
    line-height: 1.2;
}

.spot-logo {
    width: 8px;
    height: 8px;
    margin-right: 0.75rem;
    background: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.badges-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    padding: 2rem;
}

/* Dashboard Preview Section */
.dashboard-preview {
    background: white;
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2d3748;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #4a5568;
    text-align: center;
    margin-bottom: 4rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
}

.dashboard-mockup {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-top: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    color: #1a202c;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #e2e8f0;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f7fafc;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
}

.dashboard-date {
    color: #718096;
    font-size: 0.95rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: linear-gradient(135deg, #f8fafc, #edf2f7);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    text-align: center;
    min-width: 0;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
    overflow-wrap: break-word;
}

.metric-label {
    font-size: 0.875rem;
    color: #4a5568;
    font-weight: 500;
}

.metric-change {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.metric-up {
    color: #38a169;
}

.metric-down {
    color: #e53e3e;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.chart-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
}

.chart-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.chart-placeholder {
    height: auto;
    min-height: 240px;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.horizontal-bars {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
    justify-content: center;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.bar-label {
    min-width: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4a5568;
    text-align: right;
    flex-shrink: 0;
}

.bar-container {
    flex: 1;
    min-width: 100px;
    height: 24px;
    background: #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    border-radius: 12px;
    position: relative;
    transition: width 0.8s ease;
}

.bar-fill.positive {
    background: linear-gradient(90deg, #48bb78, #38a169);
}

.bar-fill.negative {
    background: linear-gradient(90deg, #f56565, #e53e3e);
}

.bar-value {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.bar-change {
    min-width: 60px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    flex-shrink: 0;
}

.bar-change.positive {
    color: #38a169;
}

.bar-change.negative {
    color: #e53e3e;
}

.insights-panel {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
}

.insights-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.insights-title .icon {
    margin-right: 0.5rem;
    color: #667eea;
    flex-shrink: 0;
}

.insights-subtitle {
    font-size: 0.8rem;
    color: #718096;
    margin-bottom: 1rem;
    font-style: italic;
}

.insight-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 3px solid #48bb78;
}

.insight-item:last-child {
    margin-bottom: 0;
}

.insight-text {
    font-size: 0.875rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
}

.insight-impact {
    font-size: 0.8rem;
    color: #38a169;
    font-weight: 600;
}

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

.branch-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    min-width: 0;
}

.branch-item.top-performer {
    border-color: #48bb78;
    background: linear-gradient(135deg, #f0fff4, #c6f6d5);
}

.branch-item.underperformer {
    border-color: #fed7d7;
    background: linear-gradient(135deg, #fffbf5, #fed7d7);
}

.branch-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    overflow-wrap: break-word;
}

.branch-revenue {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #2d3748;
    overflow-wrap: break-word;
}

.branch-change {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Benefits */
.benefits {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.benefits .section-title {
    color: white;
}

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

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

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-number {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.benefit-label {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
}

/* Contact Section */
.contact {
    background: white;
    padding: 5rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.25rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.contact-info p {
    color: #4a5568;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
}

.contact-info h3 {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 1rem;
}

.benefits-list {
    list-style: none;
    color: #4a5568;
    margin-bottom: 2rem;
}

.benefits-list li {
    margin-bottom: 0.75rem;
    padding-left: 2rem;
    position: relative;
    font-weight: 400;
    display: flex;
    align-items: center;
}

.benefits-list li::before {
    content: '';
    position: absolute;
    left: 0;
    width: 16px;
    height: 16px;
    background: #48bb78;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefits-list li::after {
    content: '✓';
    position: absolute;
    left: 4px;
    color: white;
    font-size: 10px;
    font-weight: 600;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2d3748;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.25);
}

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

/* Footer */
footer {
    background: #2d3748;
    color: white;
    padding: 2.5rem 0;
    text-align: center;
}

footer p {
    font-weight: 400;
    margin: 0;
}

footer p:first-child {
    color: #a0aec0;
    margin-bottom: 0.5rem;
}

footer p:last-child {
    color: white;
}

footer a {
    color: #667eea;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* IMPROVED RESPONSIVE STYLES */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .dashboard-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .container {
        padding: 1.5rem;
    }
    
    .hero-content {
        gap: 3rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .hero {
        padding: 1rem 0 3rem;
    }
    
    .hero-cta-button {
        position: static;
        display: block;
        width: auto;
        max-width: 300px;
        margin: 1.5rem auto 0;
        padding: 1rem 2rem;
        font-size: 1rem;
        text-align: center;
        order: 6;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .hero-text {
        text-align: center;
        order: 1;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .logo-section {
        order: 1;
        margin-bottom: 1rem;
    }
    
    .badges-row {
        order: 2;
        justify-content: center;
        margin-bottom: 1.5rem;
        gap: 0.75rem;
    }
    
    .teya-badge,
    .spot-on-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-title {
        order: 3;
    }
    
    .hero-subtitle {
        order: 4;
    }

    .hero-right-column {
        order: 5;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .hero-image {
        order: 1;
        margin: 0;
        width: 100%;
    }
    
    .hero-cta-centered {
        order: 6;
        text-align: center;
        margin-top: 2rem;
    }

    .main-logo {
        font-size: 3.5rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .dashboard-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .branches-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 0.75rem;
    }

    .dashboard-mockup {
        margin: 1rem;
        padding: 1.5rem;
    }

    .container {
        padding: 1rem;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    /* Schovat celý chart placeholder v tablet verzi */
    .chart-placeholder {
        display: none;
    }
    
    .bar-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 1rem;
        background: white;
        padding: 1rem;
        border-radius: 8px;
        border: 1px solid #e2e8f0;
    }
    
    .bar-label {
        text-align: left;
        min-width: auto;
        font-weight: 600;
    }
    
    .bar-container {
        min-width: 100px;
        height: 24px;
    }
    
    .bar-change {
        text-align: left;
        min-width: auto;
        font-weight: 600;
    }
}

/* Small mobile phones */
@media (max-width: 480px) {
    .hero {
        min-height: auto;
        padding: 1rem 0 2rem;
    }

    .main-logo {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 0.875rem;
        display: block;
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .hero-content {
        gap: 1rem;
    }
    
    .hero-text {
        gap: 1rem;
    }
    
    .logo-section {
        margin-bottom: 0.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }

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

    .container {
        padding: 0.75rem;
    }

    .dashboard-mockup {
        margin: 0.5rem;
        padding: 1rem;
        border-radius: 12px;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .metric-card {
        padding: 1rem;
    }
    
    .metric-value {
        font-size: 1.5rem;
    }

    .chart-placeholder {
        display: none;
    }

    .branches-list {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .branch-item {
        padding: 0.75rem;
    }
    
    .branch-revenue {
        font-size: 1rem;
    }

    .insights-panel {
        padding: 1rem;
    }
    
    .insight-item {
        padding: 0.75rem;
    }
    
    .insight-text {
        font-size: 0.8rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }
    
    .benefit-number {
        font-size: 2rem;
    }

    .contact-info h2 {
        font-size: 1.75rem;
    }
    
    .contact-info p {
        font-size: 1rem;
    }
    
    .benefits-list li {
        font-size: 0.9rem;
    }

    /* Fix form elements for small screens */
    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .main-logo {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-content {
        gap: 0.75rem;
    }
    
    .teya-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .spot-on-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .dashboard-mockup {
        margin: 0.25rem;
        padding: 0.75rem;
    }
    
    .metric-value {
        font-size: 1.25rem;
    }
    
    .chart-title {
        font-size: 1rem;
    }
    
    .benefit-number {
        font-size: 1.75rem;
    }
}

/* Footer */
footer {
    background: #2d3748;
    color: white;
    padding: 2.5rem 0;
    text-align: center;
}

footer p {
    font-weight: 400;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

footer p:last-child {
    margin-bottom: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    text-decoration: underline;
}