/* Plik: styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    min-height: 100vh;
    color: #333;
}

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

/* Header */
.header {
    text-align: center;
    color: white;
    margin-bottom: 50px;
    padding: 60px 20px 40px;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.header p {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.header-ctas {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid white;
}

.cta-btn.primary {
    background: white;
    color: #dc2743;
}
.cta-btn.primary:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

.cta-btn.secondary {
    background: transparent;
    color: white;
}
.cta-btn.secondary:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* Filters */
.filters {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.filter-row {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-label {
    font-weight: 600;
    color: #555;
    min-width: 100px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-btn:hover {
    border-color: #f09433;
    color: #f09433;
}

.filter-btn.active {
    background: linear-gradient(135deg, #f09433, #e6683c);
    color: white;
    border-color: #f09433;
}

.search-box {
    flex: 1;
    max-width: 400px;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-box:focus {
    border-color: #f09433;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.model-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, #f09433, #e6683c);
    color: white;
    padding: 25px;
    position: relative;
}

.card-number {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    padding-right: 60px;
}

.card-earnings {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
}

.card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-time.low { background: #e3f2fd; color: #1976d2; }
.badge-time.medium { background: #fffde7; color: #fbc02d; }
.badge-time.high { background: #fbe9e7; color: #e64a19; }

.badge-difficulty.low { background: #e8f5e8; color: #4caf50; }
.badge-difficulty.medium { background: #fff3e0; color: #f57c00; }
.badge-difficulty.high { background: #ffebee; color: #f44336; }

.expand-btn {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e9ecef;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto;
}

.expand-btn:hover {
    background: linear-gradient(135deg, #f09433, #e6683c);
    color: white;
    border-color: #f09433;
}

/* Expanded Content */
.card-content {
    display: none;
    padding: 25px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

.card-content.expanded {
    display: block;
    animation: slideDown 0.3s ease-out;
    max-height: 1000px;
    overflow: hidden;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 1000px;
    }
}

.content-section {
    margin-bottom: 25px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.steps-list {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #f09433;
}

.steps-list ol {
    padding-left: 20px;
}

.steps-list li {
    margin-bottom: 10px;
    color: #555;
}

.steps-list li:last-child {
    margin-bottom: 0;
}

.examples-box {
    background: #e8f5e8;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #4caf50;
}

.examples-box p {
    margin: 0;
    color: #2e7d32;
}

.mistakes-box {
    background: #ffebee;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #f44336;
}

.mistakes-box ul {
    padding-left: 20px;
}

.mistakes-box li {
    margin-bottom: 8px;
    color: #c62828;
}

.mistakes-box li:last-child {
    margin-bottom: 0;
}

/* Roadmap Section */
.roadmap {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}

.roadmap h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 2.2rem;
}

.roadmap-stages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.stage {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e9ecef;
    display: flex;
    flex-direction: column;
}

.stage-number {
    background: linear-gradient(135deg, #f09433, #e6683c);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 15px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.stage h3 {
    margin-bottom: 15px;
    color: #333;
}

.stage p {
    color: #666;
    font-size: 0.9rem;
    flex-grow: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .header h1 {
        font-size: 2.2rem;
    }
    
    .header-stats {
        gap: 20px;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
}

.hidden {
    display: none !important;
}