:root {
    --primary-color: #2563eb;       /* Nowoczesny niebieski */
    --secondary-color: #1e293b;     /* Ciemny granat/szary */
    --accent-color: #f59e0b;        /* Akcent (np. dla ostrzeżeń lub uwagi) */
    --background-light: #f8fafc;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --white: #ffffff;
    --placeholder-bg: #e2e8f0;
    --success-color: #10b981;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    background-color: var(--background-light);
}

h1, h2, h3 {
    margin-top: 0;
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.2s ease;
}

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

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--white);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .tagline {
    font-size: 1.5rem;
    font-weight: 300;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.hero .description {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-image {
    flex: 1;
    position: relative;
    z-index: 10;
}

/* --- Screenshot Placeholders --- */
.screenshot-placeholder {
    background-color: var(--placeholder-bg);
    border: 3px dashed #94a3b8;
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 16/9; /* Proporcje ekranu HD */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #64748b;
    font-weight: 600;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: relative;
}

.screenshot-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero .screenshot-placeholder {
    border-color: #475569;
    background-color: #1e293b;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    margin-right: 15px;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid #475569;
}

.btn-secondary:hover {
    border-color: var(--white);
    background-color: rgba(255,255,255,0.05);
}

/* --- Modules Section --- */
#modules {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--secondary-color);
}

.module-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.module-row.reverse {
    flex-direction: row-reverse;
}

.module-text {
    flex: 1;
}

.module-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-list {
    padding-left: 0;
    list-style: none;
}

.feature-list li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    color: var(--text-dark);
}

.feature-list li::before {
    content: "✔";
    color: var(--success-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.module-image {
    flex: 1;
}

.module-image .screenshot-placeholder {
    transform: rotate(2deg);
    transition: transform 0.3s;
}

.module-row.reverse .module-image .screenshot-placeholder {
    transform: rotate(-2deg);
}

.module-image:hover .screenshot-placeholder {
    transform: rotate(0);
}

/* --- Download Section --- */
.download-section {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.download-desc {
    color: #cbd5e1;
    margin-bottom: 50px;
    font-size: 1.2rem;
}

.section-title.white {
    color: var(--white);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.download-card {
    background: #334155;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #475569;
    color: var(--white);
}

.download-card:hover {
    transform: translateY(-5px);
    background: #1e293b;
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.os-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    color: var(--white);
}

.download-card h3 {
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.download-card .version {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.btn-download {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    width: 100%;
}

.download-card:hover .btn-download {
    background-color: #1d4ed8;
}

/* --- Footer --- */
footer {
    background-color: #0f172a;
    padding: 40px 0;
    color: #94a3b8;
    border-top: 1px solid #334155;
}

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

.footer-links a {
    color: #94a3b8;
    margin-left: 20px;
}

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

/* --- Responsiveness --- */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .module-row {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .module-row.reverse {
        flex-direction: column;
    } .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-links a {
        margin-left: 0;
    }
}
