/* =============================================
   EASYWAY - INDEX.CSS
   VERZIA: 11.0.0 (ZJEDNOTENÁ MEDZERA, PLNE RESPONZÍVNY)
   ============================================= */

/* =============================================
   HERO SEKCE
   ============================================= */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: clamp(25px, 6vw, 60px) clamp(12px, 4vw, 30px);
    text-align: center;
    border-radius: 0 0 var(--radius) var(--radius);
    margin-bottom: clamp(30px, 6vw, 50px);
    position: relative;
    overflow: hidden;
    min-height: clamp(300px, 50vh, 60vh);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%234a64d4' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(1.6rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: clamp(0.75rem, 3vw, 1.25rem);
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(0.9rem, 3vw, 1.3rem);
    margin-bottom: clamp(20px, 5vw, 40px);
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: clamp(10px, 3vw, 20px);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: clamp(10px, 2.5vw, 16px) clamp(16px, 5vw, 32px);
    font-size: clamp(0.875rem, 2.5vw, 1.1rem);
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn.primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* =============================================
   FEATURES SEKCE
   ============================================= */
.features-section {
    margin-bottom: clamp(40px, 8vw, 70px);
    padding: 0 clamp(10px, 3vw, 30px);
}

.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: clamp(30px, 6vw, 50px);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(60px, 10vw, 100px);
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: clamp(20px, 4vw, 30px);
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: clamp(20px, 5vw, 40px) clamp(15px, 4vw, 30px);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 2px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-size: clamp(1.1rem, 3.5vw, 1.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-description {
    color: var(--text-color);
    line-height: 1.6;
    font-size: clamp(0.813rem, 2.5vw, 1rem);
}

/* =============================================
   BENEFITS SEKCE
   ============================================= */
.benefits-section {
    background: linear-gradient(135deg, var(--primary-ultralight) 0%, #f0f5ff 100%);
    border-radius: var(--radius);
    padding: clamp(25px, 5vw, 60px);
    margin-bottom: clamp(40px, 8vw, 70px);
    border: 2px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '✓';
    position: absolute;
    bottom: -50px;
    right: -50px;
    font-size: clamp(100px, 20vw, 200px);
    opacity: 0.05;
    color: var(--primary-color);
    transform: rotate(15deg);
}

.benefits-title {
    font-size: clamp(1.4rem, 5vw, 2.2rem);
    color: var(--text-dark);
    margin-bottom: clamp(25px, 5vw, 40px);
    text-align: center;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(15px, 3vw, 25px);
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    transition: transform var(--transition);
    padding: clamp(12px, 3vw, 20px);
    border: 2px solid var(--border-light);
}

.benefit-item:hover {
    transform: translateX(5px);
    border-color: var(--primary-light);
}

.benefit-icon {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--primary-color);
    flex-shrink: 0;
}

.benefit-text h3 {
    margin: 0 0 8px 0;
    color: var(--text-dark);
    font-size: clamp(0.9rem, 3vw, 1.2rem);
}

.benefit-text p {
    margin: 0;
    color: var(--text-color);
    font-size: clamp(0.75rem, 2.5vw, 0.875rem);
}

/* =============================================
   STATS SEKCE
   ============================================= */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(15px, 3vw, 25px);
    margin: clamp(30px, 6vw, 50px) 0;
}

.stat-box {
    background: white;
    padding: clamp(15px, 4vw, 30px);
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.stat-box:hover::before {
    opacity: 0.05;
}

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

.stat-number {
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    line-height: 1;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.stat-label {
    font-size: clamp(0.75rem, 2.5vw, 1.1rem);
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
    z-index: 2;
}

/* =============================================
   RESPONZÍVNE ŠTÝLY
   ============================================= */
@media (max-width: 1200px) {
    .features-section {
        padding: 0 20px;
    }
}

@media (max-width: 1024px) {
    .benefits-section {
        padding: 30px;
    }
    .features-grid {
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .hero-section {
        min-height: 40vh;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .benefits-list {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 1.6rem;
    }
    .stats-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    .section-title {
        font-size: 1.4rem;
    }
    .benefits-section {
        padding: 20px;
    }
    .features-section {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.3rem;
    }
    .hero-subtitle {
        font-size: 0.85rem;
    }
    .hero-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    .section-title {
        font-size: 1.3rem;
    }
    .feature-card {
        padding: 20px;
    }
    .stat-number {
        font-size: 1.8rem;
    }
    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.2rem;
    }
    .hero-subtitle {
        font-size: 0.8rem;
    }
    .section-title {
        font-size: 1.2rem;
    }
    .feature-title {
        font-size: 1rem;
    }
    .feature-description {
        font-size: 0.75rem;
    }
}

/* =============================================
   DARK MODE
   ============================================= */
@media (prefers-color-scheme: dark) {
    .feature-card {
        background: var(--bg-primary);
        border-color: var(--border-default);
    }
    .benefit-item {
        background: var(--bg-primary);
        border-color: var(--border-default);
    }
    .stat-box {
        background: var(--bg-primary);
        border-color: var(--border-default);
    }
    .benefits-section {
        background: linear-gradient(135deg, rgba(26, 43, 110, 0.2), rgba(15, 26, 77, 0.3));
    }
}

/* =============================================
   ZNÍŽENÁ POHYBLIVOSŤ
   ============================================= */
@media (prefers-reduced-motion: reduce) {
    .hero-btn::before,
    .feature-card::before,
    .stat-box::before,
    .hero-btn:hover,
    .feature-card:hover,
    .benefit-item:hover,
    .stat-box:hover {
        transition: none !important;
        transform: none !important;
    }
    .feature-card:hover::before {
        transform: none !important;
    }
    .hero-btn:hover {
        transform: none !important;
    }
}

/* =============================================
   TLAČ
   ============================================= */
@media print {
    .hero-buttons,
    .site-footer,
    header,
    .site-header,
    .back-to-top-btn,
    .security-badge {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
    .hero-section {
        background: white !important;
        color: black;
        padding: 20px 0;
    }
    .hero-title {
        color: black;
        text-shadow: none;
    }
    .feature-card,
    .benefit-item,
    .stat-box {
        box-shadow: none;
        border: 1px solid #ccc;
        break-inside: avoid;
    }
}
