/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
        Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    color: #1a1a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== Language Toggle ===== */
html[lang="pl"] [lang="en"] {
    display: none;
}

html[lang="en"] [lang="pl"] {
    display: none;
}

/* ===== Layout ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Language Toggle Button ===== */
.lang-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    border: 2px solid #DC143C;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    backdrop-filter: blur(8px);
}

.lang-toggle:hover {
    background: #DC143C;
    color: #fff;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, #DC143C 0%, #b01030 100%);
    color: #fff;
    text-align: center;
    padding: 100px 24px 80px;
}

.hero-icon {
    border-radius: 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.tagline {
    font-size: 1.35rem;
    opacity: 0.92;
    margin-bottom: 40px;
    font-weight: 400;
}

/* ===== Store Buttons ===== */
.store-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #111;
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 1rem;
    transition: transform 0.15s, box-shadow 0.15s;
}

.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.store-btn span {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.store-btn small {
    font-size: 0.7rem;
    opacity: 0.8;
    font-weight: 400;
}

.store-btn svg {
    flex-shrink: 0;
}

/* ===== Features Section ===== */
.features {
    padding: 80px 24px;
    background: #fff;
}

.features h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 48px;
    color: #1a1a1a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: 16px;
    border: 1px solid #eee;
    transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.feature-icon {
    color: #DC143C;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* ===== How It Works Section ===== */
.how-it-works {
    padding: 80px 24px;
    background: #f8f8f8;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 48px;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 260px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #DC143C;
    color: #fff;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.step-icon {
    color: #DC143C;
    margin-bottom: 12px;
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step p {
    font-size: 0.95rem;
    color: #555;
}

.step-arrow {
    color: #DC143C;
    flex-shrink: 0;
    opacity: 0.6;
}

/* ===== CTA Section ===== */
.cta {
    background: linear-gradient(135deg, #DC143C 0%, #b01030 100%);
    color: #fff;
    text-align: center;
    padding: 80px 24px;
}

.cta h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 36px;
}

/* ===== Footer ===== */
.footer {
    background: #1a1a1a;
    color: #aaa;
    text-align: center;
    padding: 32px 24px;
}

.footer-contact {
    margin-bottom: 8px;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

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

.footer-copy {
    font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 80px 20px 60px;
    }

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

    .tagline {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .steps {
        flex-direction: column;
        gap: 16px;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .store-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .features h2,
    .how-it-works h2,
    .cta h2 {
        font-size: 1.75rem;
    }

    .lang-toggle {
        top: 12px;
        right: 12px;
    }
}
