:root {
    --primary-color: #E60000;
    --black: #111111;
    --dark-grey: #1a1a1a;
    --white: #ffffff;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0,0,0,0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); text-transform: uppercase; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 90px 0; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Scroll reveal --- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; animation: fadeInUp 0.8s forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
@keyframes fadeInUp { from { opacity:0; transform:translateY(30px);} to { opacity:1; transform:translateY(0);} }

/* --- Section Title --- */
.section-title { margin-bottom: 50px; }
.section-title h2 { font-size: 3rem; letter-spacing: 2px; }
.title-underline { height: 4px; width: 60px; background: var(--primary-color); margin-top: 10px; }
.subtitle { margin-top: 15px; color: #aaa; font-size: 1.1rem; }

/* --- CTA Button --- */
.cta-btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary-color);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
}
.cta-btn:hover { background: transparent; color: var(--primary-color); }
.cta-btn-outline { background: transparent; border-color: var(--white); }
.cta-btn-outline:hover { background: var(--white); color: var(--black); border-color: var(--white); }

.cta-btn-ghost {
    background: rgba(10, 10, 10, 0.55);
    color: var(--primary-color);
    border-color: var(--primary-color);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.cta-btn-ghost:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 0 20px rgba(230, 0, 0, 0.5);
}

.app-highlight-btn {
    background: linear-gradient(45deg, var(--primary-color), #ff3333);
    color: var(--white);
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(230,0,0,0.6);
    animation: pulse 2s infinite;
}
.app-highlight-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.5s ease;
}
.app-highlight-btn:hover::before {
    left: 100%;
}
.app-highlight-btn:hover {
    background: linear-gradient(45deg, #cc0000, var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(230,0,0,0.8);
    color: var(--white);
}
.app-highlight-btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* --- Navigation --- */
nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    transition: var(--transition);
    background: transparent;
    padding: 18px 0;
}
nav.scrolled {
    background: rgba(17,17,17,0.97);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.6);
    border-bottom: 1px solid rgba(230,0,0,0.2);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.nav-logo img { height: 50px; border-radius: 5px; transition: var(--transition); }
.nav-logo img:hover { transform: scale(1.05); }
.nav-links { display: flex; gap: 30px; }
.nav-links li a {
    font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
    letter-spacing: 1px; position: relative; padding-bottom: 5px; transition: var(--transition);
}
.nav-links li a:hover { color: var(--primary-color); }
.nav-links li a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background: var(--primary-color); transition: var(--transition);
}
.nav-links li a:hover::after { width: 100%; }
.hamburger {
    display: none; background: none; border: none;
    font-size: 1.8rem; cursor: pointer; color: var(--white); padding: 5px;
}

/* --- Hero --- */
.hero {
    position: relative; height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden;
}
.hero-video {
    position: absolute; top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    transform: translate(-50%,-50%);
    z-index: -2; object-fit: cover;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.65) 60%, rgba(17,17,17,1) 100%);
    z-index: -1;
}
.hero-content { z-index: 1; padding: 0 20px; width: 100%; }
.hero-logo-img {
    height: 140px; margin: 0 auto 20px; border-radius: 10px;
    animation: pulse 2.5s infinite;
    display: block;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(230,0,0,0.7); }
    70%  { box-shadow: 0 0 0 18px rgba(230,0,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(230,0,0,0); }
}
.hero h1 { font-size: 4rem; letter-spacing: 3px; margin-bottom: 5px; line-height: 1.2; }
.hero h2 { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 20px; }
.hero p { font-size: 1.2rem; max-width: 600px; margin: 0 auto 40px; color: #ddd; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.hero-scroll-down {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    color: var(--white); font-size: 1.5rem; z-index: 2;
    animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0);} 50%{transform:translateX(-50%) translateY(10px);} }

/* --- Stats Bar --- */
.stats-bar {
    background: var(--primary-color);
    padding: 30px 0;
}
.stats-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; justify-content: space-around; align-items: center;
    flex-wrap: wrap; gap: 20px;
}
.stat-item { text-align: center; }
.stat-item .stat-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; }
.stat-item .stat-suffix { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; }
.stat-item p { font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; opacity: 0.9; margin-top: 3px; }
.stat-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.3); }

/* --- App Promo Section --- */
.nav-badge {
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.65rem;
    padding: 3px 6px;
    border-radius: 8px;
    position: absolute;
    top: -8px;
    right: -25px;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(230,0,0,0.5);
    animation: pulseBadge 2s infinite;
}
@keyframes pulseBadge {
    0% { box-shadow: 0 0 0 0 rgba(230,0,0,0.7); }
    70% { box-shadow: 0 0 0 6px rgba(230,0,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(230,0,0,0); }
}

.app-promo-section {
    background: linear-gradient(135deg, var(--black) 0%, #150000 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(230,0,0,0.2);
    scroll-margin-top: 80px;
}
.app-promo-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: rgba(17,17,17,0.9);
    border-radius: 20px;
    padding: 60px 50px;
    border: 1px solid rgba(230,0,0,0.4);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.05);
    backdrop-filter: blur(15px);
    position: relative;
    z-index: 2;
}
.app-promo-content {
    flex: 1;
    max-width: 580px;
}
.app-promo-content .badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(230,0,0,0.4);
}
.app-promo-content h2 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 25px;
    text-transform: uppercase;
}
.app-promo-content .highlight {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(230,0,0,0.3);
}
.app-promo-content p {
    font-size: 1.15rem;
    color: #ccc;
    margin-bottom: 35px;
    line-height: 1.6;
}
.app-promo-features {
    display: flex;
    gap: 25px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}
.app-promo-features span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #eee;
    font-size: 1rem;
    font-weight: 500;
}
.app-promo-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
}
.app-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.15rem;
    padding: 16px 35px;
    border-radius: 10px;
    background: linear-gradient(45deg, var(--primary-color), #ff3333);
    border: none;
    box-shadow: 0 10px 30px rgba(230,0,0,0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    font-weight: 700;
    width: max-content;
}
.app-download-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.6s ease;
}
.app-download-btn:hover::before {
    left: 100%;
}
.app-download-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(230,0,0,0.7);
    color: var(--white);
}
.app-download-btn i {
    font-size: 1.8rem;
}
.install-info {
    margin-top: 18px !important;
    font-size: 0.9rem !important;
    color: #888 !important;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0 !important;
}
.app-promo-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    perspective: 1000px;
}
.phone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    border: 12px solid #2a2a2a;
    position: relative;
    box-shadow: 0 40px 80px rgba(0,0,0,0.7), inset 0 0 20px rgba(255,255,255,0.15);
    z-index: 2;
    transform: rotateY(-15deg) rotateX(5deg) translateY(0);
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation: floatPhone 6s ease-in-out infinite;
}
.app-promo-wrapper:hover .phone-mockup {
    transform: rotateY(-5deg) rotateX(2deg) translateY(-10px);
}
@keyframes floatPhone {
    0%, 100% { transform: rotateY(-15deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-15deg) rotateX(5deg) translateY(-20px); }
}
.phone-notch {
    position: absolute;
    top: -2px; left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 28px;
    background: #2a2a2a;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 3;
}
.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #111, #220000);
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    padding: 60px 20px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.phone-screen .app-logo {
    width: 90px;
    margin-bottom: 40px;
    filter: drop-shadow(0 0 15px rgba(230,0,0,0.6));
    animation: pulse 3s infinite;
}
.app-ui {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.ui-box {
    width: 100%;
    height: 80px;
    background: rgba(255,255,255,0.06);
    border-radius: 14px;
    border: 1px solid rgba(230,0,0,0.15);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.ui-row {
    display: flex;
    gap: 15px;
}
.ui-box.small {
    height: 110px;
    flex: 1;
}
.glow-effect {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(230,0,0,0.18) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: blur(50px);
    pointer-events: none;
}

/* --- About Section --- */
.about-section {
    background: linear-gradient(rgba(17,17,17,0.82), rgba(17,17,17,0.96)), url('tlokuba.png');
    background-size: cover;
    background-position: center top;
    scroll-margin-top: 80px;
}
.about-content { display: flex; gap: 60px; align-items: center; }
.about-text { flex: 1; }
.about-text h3 { font-size: 1.8rem; margin-bottom: 20px; }
.about-text h3 span { color: var(--primary-color); }
.about-text p { margin-bottom: 18px; color: #ccc; font-size: 1.05rem; }
.features { display: flex; gap: 15px; margin-top: 30px; }
.feature-box {
    text-align: center; background: rgba(17,17,17,0.85);
    padding: 22px 15px; border-radius: 8px; flex: 1;
    border-bottom: 3px solid var(--primary-color);
    transition: var(--transition); backdrop-filter: blur(4px);
}
.feature-box:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-box i { font-size: 1.8rem; color: var(--primary-color); margin-bottom: 10px; display:block; }
.feature-box h4 { font-size: 0.95rem; margin-bottom: 5px; }
.feature-box p { font-size: 0.85rem; color: #999; margin: 0; }
.about-image { flex: 1; }
.about-image img { border-radius: 10px; box-shadow: 12px 12px 0 var(--primary-color); }

/* --- Offer Section --- */
.offer-section {
    background: linear-gradient(rgba(17,17,17,0.88), rgba(17,17,17,0.92)), url('tlooferta.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    scroll-margin-top: 80px;
}
.offer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; margin-top: 50px;
}
.offer-card {
    background: var(--black);
    padding: 40px 30px;
    border-radius: 12px; text-align: center;
    border: 1px solid #2a2a2a;
    transition: var(--transition);
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
}
.offer-card-grupowe {
    background: linear-gradient(rgba(17,17,17,0.55), rgba(17,17,17,0.82)), url('grupowe.png');
    background-size: cover; background-position: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
}
.offer-card-indywidualne {
    background: linear-gradient(rgba(17,17,17,0.55), rgba(17,17,17,0.82)), url('indywidualne.png');
    background-size: cover; background-position: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
}
.offer-card:hover { border-color: var(--primary-color); transform: translateY(-8px); box-shadow: var(--shadow); }
.offer-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 4px; background: var(--primary-color);
}
.offer-icon {
    width: 75px; height: 75px;
    background: rgba(230,0,0,0.15); border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    margin: 0 auto 20px; border: 2px solid rgba(230,0,0,0.3);
}
.offer-icon i { font-size: 2.2rem; color: var(--primary-color); }
.offer-card h3 { font-size: 1.7rem; margin-bottom: 15px; }
.offer-card > p { color: #ccc; margin-bottom: 20px; font-size: 1rem; flex: 1; }
.offer-list { text-align: left; margin-bottom: 30px; }
.offer-list li { margin-bottom: 10px; color: #ddd; display: flex; align-items: center; font-size: 0.95rem; }
.offer-list li i { color: var(--primary-color); margin-right: 12px; flex-shrink: 0; }
.offer-btn { margin-top: auto; align-self: center; }

/* --- Banner --- */
.banner-section { width: 100%; }
.banner-parallax {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 420px;
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.banner-overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.72); z-index: 1; }
.banner-content { position: relative; z-index: 2; padding: 0 20px; }
.banner-content h2 { font-size: 3rem; color: var(--white); margin-bottom: 10px; letter-spacing: 2px; }
.banner-content p { font-size: 1.2rem; color: #ddd; margin-bottom: 30px; }

/* --- Schedule --- */
.schedule-section { background: var(--black); scroll-margin-top: 80px; }
.schedule-img-container {
    max-width: 820px; margin: 40px auto 0;
    border-radius: 12px; overflow: hidden;
    border: 3px solid #222;
    position: relative; cursor: pointer;
    box-shadow: var(--shadow);
}
.schedule-image { width: 100%; display: block; transition: transform 0.4s ease; }
.schedule-img-container:hover .schedule-image { transform: scale(1.02); }
.schedule-overlay {
    position: absolute; inset: 0;
    background: rgba(230,0,0,0.75);
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s;
    gap: 10px;
}
.schedule-img-container:hover .schedule-overlay { opacity: 1; }
.schedule-overlay i { color: var(--white); font-size: 3rem; }
.schedule-overlay span { color: var(--white); font-family: var(--font-heading); font-size: 1.2rem; letter-spacing: 1px; }

/* --- Gallery --- */
.gallery-section { background: var(--dark-grey); scroll-margin-top: 80px; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 18px;
}
.gallery-item {
    position: relative; overflow: hidden;
    border-radius: 10px; cursor: pointer;
    aspect-ratio: 1/1;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(230,0,0,0.8);
    display: flex; justify-content: center; align-items: center;
    opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: var(--white); font-size: 2.5rem; }

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0,0,0,0.95);
    overflow-y: auto;
    overflow-x: hidden;
}
.lightbox.active { display: block; }
.lightbox-inner {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 20px;
}
.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    animation: zoomIn 0.4s ease;
    box-shadow: 0 0 60px rgba(0,0,0,0.8);
    display: block;
    margin: auto;
}
@keyframes zoomIn { from{transform:scale(0.6); opacity:0;} to{transform:scale(1); opacity:1;} }
.close-lightbox {
    position: absolute; top: 15px; right: 20px;
    background: none; border: none;
    color: #eee; font-size: 2.5rem; cursor: pointer;
    line-height: 1; transition: var(--transition);
    z-index: 3001;
}
.close-lightbox:hover { color: var(--primary-color); transform: scale(1.2); }

/* --- Footer --- */
.footer {
    background: linear-gradient(rgba(5,5,5,0.93), rgba(5,5,5,0.97)), url('baner.png');
    background-size: cover; background-position: center;
    padding: 80px 0 25px;
    border-top: 2px solid var(--primary-color);
    scroll-margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.3fr;
    gap: 40px; margin-bottom: 50px;
}
.footer-logo { height: 65px; margin-bottom: 20px; border-radius: 6px; }
.footer-about p { color: #999; margin-bottom: 20px; font-size: 0.95rem; line-height: 1.7; }
.footer-socials a {
    display: inline-flex; justify-content: center; align-items: center;
    width: 42px; height: 42px; background: #222;
    border-radius: 50%; margin-right: 10px;
    transition: var(--transition); color: var(--white); font-size: 1rem;
}
.footer-socials a:hover { background: var(--primary-color); transform: translateY(-4px); }
.footer-contact h3, .footer-map h3 {
    font-size: 1.3rem; margin-bottom: 25px;
    position: relative; padding-bottom: 12px;
}
.footer-contact h3::after, .footer-map h3::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 40px; height: 2px; background: var(--primary-color);
}
.contact-item { display: flex; align-items: flex-start; margin-bottom: 22px; gap: 15px; }
.contact-item i { font-size: 1.3rem; color: var(--primary-color); margin-top: 3px; flex-shrink: 0; }
.contact-item h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-item p { color: #aaa; font-size: 0.9rem; margin: 0; }
.contact-link { color: #ccc; transition: var(--transition); display: block; font-size: 1.05rem; }
.contact-link:hover { color: var(--primary-color); }
.small-text { font-size: 0.82rem; color: #666; display: block; margin-top: 2px; }
.map-container { border-radius: 10px; overflow: hidden; border: 2px solid #2a2a2a; }
.footer-bottom {
    text-align: center; padding-top: 25px;
    border-top: 1px solid #222; color: #555; font-size: 0.88rem;
}

/* --- Scroll to Top --- */
.scroll-top {
    position: fixed; bottom: 30px; right: 25px;
    background: var(--primary-color); color: var(--white);
    border: none; width: 46px; height: 46px; border-radius: 50%;
    font-size: 1.1rem; cursor: pointer;
    opacity: 0; pointer-events: none;
    transition: var(--transition); z-index: 900;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(230,0,0,0.4);
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: #c00; transform: translateY(-4px); }

/* ======== RESPONSIVE ======== */
@media (max-width: 992px) {
    .app-promo-wrapper { flex-direction: column; text-align: center; padding: 50px 30px; gap: 60px; }
    .app-promo-features { justify-content: center; }
    .app-download-btn { margin: 0 auto; }
    .install-info { justify-content: center; }
    .phone-mockup { transform: rotateY(0) rotateX(0) translateY(0); animation: none; }
    .app-promo-wrapper:hover .phone-mockup { transform: translateY(-10px); }

    .about-content { flex-direction: column; }
    .about-image { width: 100%; max-width: 550px; margin: 0 auto; }
    .about-image img { box-shadow: 8px 8px 0 var(--primary-color); }
    .hero h1 { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stat-divider { display: none; }
}

@media (max-width: 768px) {
    /* Nav mobile */
    .nav-links {
        position: fixed; inset: 0;
        background: rgba(10,10,10,0.99);
        flex-direction: column; align-items: center; justify-content: center;
        transform: translateX(100%); transition: transform 0.4s ease;
        gap: 10px; z-index: 999;
    }
    .nav-links.active { transform: translateX(0); }
    .nav-links li { margin: 8px 0; }
    .nav-links li a { font-size: 1.6rem; }
    .hamburger { display: flex; align-items: center; justify-content: center; z-index: 1001; }

    /* Hero – lepszy wygląd na pionowym ekranie */
    .hero { height: 100svh; min-height: 600px; }
    .hero-content { padding: 0 15px; }
    .hero-logo-img { height: 110px; margin-bottom: 16px; }
    .hero h1 { font-size: 1.9rem; letter-spacing: 1px; }
    .hero h2 { font-size: 1.4rem; }
    .hero p { font-size: 0.95rem; margin-bottom: 30px; }
    .hero-buttons { gap: 12px; }
    .cta-btn { padding: 13px 24px; font-size: 0.95rem; }
    .hero-scroll-down { bottom: 20px; }

    /* Stats – 2 kolumny */
    .stats-bar { padding: 22px 0; }
    .stats-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        text-align: center;
    }
    .stat-divider { display: none; }
    .stat-item .stat-number { font-size: 2rem; }
    .stat-item .stat-suffix { font-size: 1.6rem; }
    .stat-item p { font-size: 0.78rem; }

    /* Sekcje */
    .section-padding { padding: 55px 0; }
    .section-title h2 { font-size: 2rem; }
    .section-title { margin-bottom: 35px; }

    /* App Promo */
    .app-promo-wrapper { padding: 40px 20px; gap: 40px; }
    .app-promo-content h2 { font-size: 2.2rem; margin-bottom: 20px; }
    .app-promo-content p { font-size: 1rem; margin-bottom: 25px; }
    .app-promo-features { gap: 15px; margin-bottom: 30px; }
    .app-download-btn { width: 100%; padding: 15px 20px; font-size: 1.05rem; }
    .install-info { font-size: 0.8rem !important; }
    .phone-mockup { width: 260px; height: 520px; }
    .phone-screen .app-logo { width: 75px; margin-bottom: 30px; }
    .ui-box { height: 70px; }
    .ui-box.small { height: 90px; }

    /* About */
    .about-section { background-attachment: scroll; }
    .offer-section { background-attachment: scroll !important; }
    .about-text h3 { font-size: 1.5rem; }
    .features { flex-direction: column; gap: 10px; }
    .feature-box { padding: 18px 12px; }

    /* Offer cards */
    .offer-cards { gap: 20px; }
    .offer-card { padding: 30px 20px; }
    .offer-card h3 { font-size: 1.5rem; }

    /* Banner – na mobile parallax nie dziala w przeglądarkach, uzywamy scroll */
    .banner-parallax {
        background-attachment: scroll !important;
        background-position: center center;
        background-size: cover;
        min-height: 300px;
        padding: 70px 20px;
    }
    .banner-content h2 { font-size: 1.7rem; letter-spacing: 1px; }
    .banner-content p { font-size: 0.95rem; margin-bottom: 22px; }

    /* Grafik zajęć – scrollowalny na mobile */
    .schedule-img-container {
        cursor: default;
        border-radius: 8px;
        margin-top: 20px;
    }
    .schedule-img-container:hover .schedule-image { transform: none; }
    .schedule-img-container:hover .schedule-overlay { opacity: 0; }
    .schedule-img-container.has-zoom:hover .schedule-overlay { opacity: 1; }
    .schedule-image {
        width: 100%;
        height: auto;
        min-width: 0;
    }

    /* Lightbox – pełny ekran na mobile */
    .lightbox-inner {
        padding: 55px 0 0;
        align-items: flex-start;
    }
    .lightbox-content {
        max-width: 100vw;
        max-height: none;
        width: 100vw;
        height: auto;
        border-radius: 0;
        box-shadow: none;
        object-fit: contain;
    }
    .close-lightbox {
        top: 8px; right: 12px;
        font-size: 2rem;
        background: rgba(0,0,0,0.7);
        border-radius: 50%;
        width: 44px; height: 44px;
        display: flex; align-items: center; justify-content: center;
        line-height: 1;
    }

    /* Galeria – 2 kolumny */
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .gallery-overlay { display: none; } /* Na telefonie tap wystarczy */

    /* Footer */
    .footer { background-attachment: scroll !important; padding: 50px 0 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-about p { font-size: 0.9rem; }
    .footer-logo { margin: 0 auto 15px; }
    .footer-socials { text-align: center; }
    .footer-contact h3, .footer-map h3 { text-align: center; }
    .footer-contact h3::after, .footer-map h3::after { left: 50%; transform: translateX(-50%); }
    .contact-item { flex-direction: row; justify-content: flex-start; text-align: left; }

    /* Scroll top */
    .scroll-top { bottom: 18px; right: 12px; width: 42px; height: 42px; font-size: 1rem; }
}

/* Bardzo małe telefony */
@media (max-width: 380px) {
    .hero h1 { font-size: 1.6rem; }
    .hero h2 { font-size: 1.2rem; }
    .hero-logo-img { height: 85px; }
    .section-title h2 { font-size: 1.7rem; }
    .stats-container { grid-template-columns: 1fr 1fr; }
}

/* --- App Dual Platform Cards & iOS Modal --- */
.app-platform-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
    width: 100%;
}
.platform-card {
    background: rgba(30, 30, 30, 0.85);
    border: 1px solid rgba(230, 0, 0, 0.3);
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.platform-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(230, 0, 0, 0.25);
}
.platform-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}
.platform-icon {
    font-size: 2.2rem;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}
.android-icon { color: #3ddc84; }
.ios-icon { color: #ffffff; }
.platform-header h3 {
    font-size: 1.4rem;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
}
.platform-sub {
    font-size: 0.85rem;
    color: #aaa;
}
.platform-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.pwa-btn {
    background: linear-gradient(45deg, #e60000, #ff3333) !important;
}
.apk-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}
.apk-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}
.ios-btn {
    background: linear-gradient(45deg, #2563eb, #3b82f6) !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4) !important;
}
.pwa-outline-btn {
    background: transparent !important;
    border: 1px solid var(--primary-color) !important;
    color: #fff !important;
}
.pwa-outline-btn:hover {
    background: var(--primary-color) !important;
}

/* Modal Window for iOS */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: #121214;
    border: 1px solid rgba(230, 0, 0, 0.5);
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content {
    transform: scale(1);
}
.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
}
.close-modal:hover { color: #fff; }
.modal-header {
    text-align: center;
    margin-bottom: 25px;
}
.modal-apple-icon {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
}
.modal-header h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 5px;
}
.modal-header p {
    font-size: 0.9rem;
    color: #aaa;
}
.ios-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}
.ios-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(255, 255, 255, 0.04);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-text h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 4px;
}
.step-text p {
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.4;
}
.ios-icon-blue { color: #3b82f6; }
.highlight-link { color: var(--primary-color); font-weight: 700; }
.modal-footer {
    text-align: center;
}
.modal-cta-btn {
    width: 100%;
    justify-content: center;
}
