/* RESET I PODSTAWY */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', sans-serif; line-height: 1.6; color: #333; }

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

/* HERO SECTION */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('./img/hero-bg.jpg'); /* Dodaj swoje zdjęcie w tle */
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    justify-content: center;
}

.hero-container {
    width: 100%;
    max-width: 1200px; /* Ograniczenie na dużych ekranach */
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 2rem;
}

.hero-content {
    text-align: center;
    width: 100%;
}

.logo { width: 100px; margin-bottom: 1rem; }
.hero h1 { font-size: 3.5rem; margin-bottom: 1rem;  letter-spacing: 3px; }
.tagline { font-size: 1.5rem; margin-bottom: 2rem; font-weight: 300; }

/* PRZYCISKI */
.btn-main {
    background-color: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
    display: inline-block;
}
.btn-main:hover { background-color: #c0392b; transform: scale(1.05); }

.btn-outline {
    border: 2px solid #333;
    color: #333;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 50px;
    transition: 0.3s;
    display: inline-block;
}

/* SEKCJE */
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 2rem; }
.description { font-size: 1.2rem; text-align: center; max-width: 800px; margin: 0 auto; }

/* CENNIK */
.pricing-section { background-color: #f9f9f9; padding: 4rem 0; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.price-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

.price-card.featured {
    border: 3px solid #e74c3c;
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #e74c3c;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.price { font-size: 2rem; font-weight: bold; margin: 1.5rem 0; color: #e74c3c; }
.price-card ul { list-style: none; margin-bottom: 2rem; }
.price-card ul li { margin-bottom: 0.5rem; }

/* STOPKA */
.footer { background: #2c3e50; color: white; padding: 3rem 0; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.footer-links a { color: #bdc3c7; text-decoration: none; margin-left: 20px; font-size: 0.9rem; }
.footer-links a:hover { color: white; }

/* COOKIES */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 0.9rem;
    z-index: 1000;
}
.btn-cookie {
    background: #27ae60;
    border: none;
    color: white;
    padding: 5px 15px;
    margin-left: 10px;
    cursor: pointer;
    border-radius: 5px;
}

/* SEKCJA KROKÓW */
.steps-section {
    padding: 5rem 0;
    background-color: #fcfcfc;
}

.steps-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
}

.step-card {
    flex: 1;
    min-width: 280px; /* Minimalna szerokość na komputerze */
    max-width: 350px; /* Maksymalna szerokość karty */
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
}

/* Kontener na telefon */
.phone-wrapper {
    position: relative;
    width: 180px;  /* Szerokość Twojej ramki PNG */
    height: 370px; /* Wysokość Twojej ramki PNG */
    margin: 0 auto 2rem auto;
}

/* Styl dla zrzutu ekranu (pod spodem) */
.app-screenshot {
    position: absolute;
    top: 12px;    /* Margines od góry ramki, aby pasował do "ekranu" */
    left: 12px;   /* Margines od lewej */
    width: calc(100% - 24px); /* Dopasowanie szerokości do otworu w PNG */
    height: calc(100% - 24px); /* Dopasowanie wysokości */
    object-fit: cover;
    border-radius: 20px; /* Zaokrąglenie rogów ekranu */
    z-index: 1;
}

/* Styl dla przezroczystej ramki PNG (na wierzchu) */
.phone-frame-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none; /* Pozwala na interakcję z elementami pod spodem jeśli trzeba */
}

.step-number {
    background: #e74c3c;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1.5rem auto;
}

.step-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.step-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsywność */
@media (max-width: 768px) {
    .steps-grid {
        flex-direction: column;
        align-items: center;
    }
}

/* Responsywność dla telefonów */
@media (max-width: 768px) {
    .steps-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .step-card {
        width: 100%;
        max-width: 100%;
    }
}


/* phone mockup*/
.phone-mockup {
    position: relative;
    width: 220px;
    height: 440px;
    overflow: hidden;
    border-radius: 40px;
    padding-top: 15px;
    
}


.screen-background {
    position: absolute;
    top: 15px; left: 10px; right: 10px; bottom: 15px;
    background-color: #444;
    z-index: 1;
    overflow: hidden;
}

.lyrics-container {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    padding-left: 0px;
    padding-right: 0px;
    background-color: #444;
    height: 800px;
    width: 200px;
    margin-left: 0px;
}

.lyric-line {
    height: var(--line-height);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    color: #fff;
    opacity: 0.8;
}

/* Stylizacja akordów */
.chords {
    font-size: 10px;
    color: var(--chord-color);
    margin-bottom: 2px;
    letter-spacing: 2px;
}

.words {
    font-size: 10px;
}

/* Podświetlenie aktywnej linii */
.lyric-line.active {
    opacity: 1;
    transform: scale(1.05);
}

.lyric-line.active .words {
    color: var(--text-color);
    font-weight: 600;
    background-color: #888;
}

.lyric-line.active .chords {
    color: var(--highlight-color); /* Akordy zmieniają kolor na czerwony BandNote gdy są aktywne */
    background-color: #888;
}

/* Ramka PNG (symulacja obrazka przezroczystego) */
.phone-frame-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none; 

    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 3;
    pointer-events: none;
    border-radius: 32px;
    /* box-shadow: inset 0 0 40px rgba(0,0,0,0.8);
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 80%, rgba(0,0,0,0.4) 100%); */
}

.center-indicator {
    position: absolute;
    top: 50%;
    left: 10px;
    right: 10px;
    height: var(--line-height);
    margin-top: calc(var(--line-height) / -2);
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    z-index: 1;
}


/*PRICE*/
/* Kontener cennika */
.price-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border: 2px solid #e74c3c;
    box-shadow: 0 15px 35px rgba(231, 76, 60, 0.1);
    transform: scale(1.05);
}

/* Główne hasło cenowe (cena miesięczna) */
.price-monthly {
    margin-top: 1rem;
}

.price-monthly .amount {
    font-size: 2rem;
    font-weight: 800;
    color: #2c3e50;
    letter-spacing: -1px;
}

.price-monthly .period {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 400;
}

/* Cena roczna - wymóg Dyrektywy Omnibus */
.price-annual-total {
    background: #fdf2f1; /* Delikatne tło dla wyróżnienia informacji prawnej */
    color: #888;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    display: inline-block;
    margin: 0.5rem auto 1.5rem auto;
    font-weight: 100;
}

.price-annual-total strong {
    font-weight: 100;
}

/* Lista cech */
.price-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem 0;
    text-align: left;
}

.price-card ul li {
    padding: 8px 0;
    color: #555;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.price-card ul li::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    margin-right: 10px;
}

/* Badge okresu próbnego */
.badge {
    background: #e74c3c;
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

/* Responsywność */
@media (max-width: 768px) {
    .price-card.featured {
        transform: scale(1);
        margin: 2rem 0;
    }
}



.about-content-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}


.menu-container {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;

}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
    .logo { width: 60px;}
    .hero { min-height: 100vh; }
    .hero h1 { font-size: 2.2rem; }
    .footer-grid { flex-direction: column; text-align: center; gap: 2rem; }
    .footer-links a { margin: 10px; display: inline-block; }
    .price-card.featured { transform: scale(1); }

    .section-title { text-align: center; font-size: 1.5rem; margin-bottom: 2rem; }
}

.blog-cta-container {
    padding: 20px 10px;
    text-align: center;
}

.btn-rhythm {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 18px 35px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid #ff4757;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.2);
}

/* Efekt fali dźwiękowej (ikona po prawej) */
.pulse-icon {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
}

.pulse-icon i {
    width: 3px;
    background: #ff4757;
    height: 100%;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Animacja tylko po najechaniu */
.btn-rhythm:hover .pulse-icon i {
    background: #fff;
    animation: audioWave 0.6s infinite alternate;
}

.btn-rhythm-download .pulse-icon i {
    background: #fff;
    animation: audioWave 0.6s infinite alternate;
    
}

.btn-rhythm-download {
background: #ff4757;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 71, 87, 0.6);
}

/* Indywidualne opóźnienia słupków fali */
.pulse-icon i:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.pulse-icon i:nth-child(2) { height: 100%; animation-delay: 0.3s; }
.pulse-icon i:nth-child(3) { height: 60%; animation-delay: 0.2s; }
.pulse-icon i:nth-child(4) { height: 80%; animation-delay: 0.4s; }

/* Hover State */
.btn-rhythm:hover {
    background: #ff4757;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 71, 87, 0.6);
}

.btn-rhythm:active {
    transform: scale(0.95);
}

/* Kluczowe klatki animacji słupków */
@keyframes audioWave {
    0% { transform: scaleY(0.4); }
    100% { transform: scaleY(1.5); }
}

/* Efekt "świecącego przejścia" przez przycisk */
.btn-rhythm::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-rhythm:hover::after {
    left: 100%;
}