@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&display=swap');

:root {
    --text-main: #ffffff;
    --text-muted: #e2e8f0;
    --accent: #FF1E46;
    --accent-glow: rgba(255, 30, 70, 0.5);
    /* Frosted glass is now much more transparent to let the vibrant colors through */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    /* VIBRANT MESH GRADIENT - NO BLACK ALLOWED */
    background: linear-gradient(-45deg, #1e1b4b, #4c1d95, #9f1239, #0f172a);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    -webkit-font-smoothing: antialiased;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* =========================================
   ENTRANCE ANIMATIONS
   ========================================= */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   STICKY GLASS HEADER
   ========================================= */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    /* Brightened up the glass header */
    background: rgba(30, 27, 75, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 900; color: #fff; text-decoration: none; letter-spacing: -1px; }
.logo span { color: var(--accent); }

/* Desktop Menu */
.nav-menu { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-menu a { color: var(--text-muted); text-decoration: none; font-weight: 600; transition: color 0.3s; }
.nav-menu a:hover { color: #fff; }

/* CSS-Only Mobile Menu Hack */
.menu-toggle { display: none; }
.hamburger { display: none; font-size: 1.8rem; cursor: pointer; color: #fff; user-select: none; }

/* =========================================
   BUTTONS (Animated)
   ========================================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 32px; font-size: 1.1rem; font-weight: 800;
    border-radius: 12px; text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.btn-primary {
    background: var(--accent); color: white;
    box-shadow: 0 10px 25px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 30, 70, 0.8);
}
.btn-glass {
    background: rgba(255, 255, 255, 0.15); color: white;
    backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.3);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.25); transform: translateY(-4px); }

/* =========================================
   HERO SECTION & GAP FILLERS
   ========================================= */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding-top: 120px; position: relative; overflow: hidden;
}
.hero-content { max-width: 800px; z-index: 2; position: relative; width: 100%; }

/* Elements filling the empty gap above H1 */
.hero-top-fill {
    display: flex; flex-direction: column; align-items: center; gap: 15px;
    margin-bottom: 40px; 
}

.trust-rating { display: inline-flex; align-items: center; gap: 10px; }
.trust-rating .stars { color: #FCD34D; font-size: 1.2rem; letter-spacing: 2px; }
.trust-rating .rating-text { color: #f1f5f9; font-weight: 600; font-size: 0.95rem; }

.channel-pills { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.channel-pills .pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 16px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 800; color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hero h1 { 
    /* Reduced max size from 5rem to 3.8rem */
    font-size: clamp(2.2rem, 5vw, 3.8rem); 
    font-weight: 900; 
    line-height: 1.15; 
    margin-bottom: 20px; 
    text-shadow: 0 4px 20px rgba(0,0,0,0.3); 
}

.hero p { 
    /* Subtitle scaled down slightly to match the new H1 size */
    font-size: clamp(1.05rem, 2vw, 1.2rem); 
    color: #f1f5f9; 
    margin-bottom: 35px; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.2); 
    font-weight: 400;
}

/* Make sure mobile sizes scale down nicely too */
@media (max-width: 768px) {
    .mini-ticker-wrap { border-radius: 12px; padding: 8px 12px; }
    .mini-ticker-move { font-size: 0.85rem; }
    .hero h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); } /* Much cleaner on phones */
}

.btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =========================================
   PRICING CARDS (Glassmorphism & Hover)
   ========================================= */
.pricing { padding: 100px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.card {
    background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border); border-radius: 24px;
    padding: 40px 30px; display: flex; flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.card:hover { transform: translateY(-15px); border-color: rgba(255,255,255,0.4); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }

.card.popular {
    background: linear-gradient(145deg, rgba(255,30,70,0.25), rgba(255,255,255,0.05));
    border: 1px solid var(--accent); transform: scale(1.05); position: relative;
}
.card.popular:hover { transform: scale(1.05) translateY(-15px); }
.card.popular::before {
    content: '🔥 NAJPOPULARNIEJSZY'; position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: white; padding: 6px 20px; border-radius: 50px; font-weight: 800; font-size: 0.8rem; letter-spacing: 1px;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.price-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 15px; }
.price-amount { font-size: 3.5rem; font-weight: 900; margin-bottom: 30px; line-height: 1; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.price-amount span { font-size: 1.5rem; color: #cbd5e1; }

.features { list-style: none; flex-grow: 1; margin-bottom: 30px; text-align: left; }
.features li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; font-weight: 600; color: #f8fafc; }
.features li::before { content: '✔'; color: #4ade80; font-size: 1.2rem; } /* Green checks pop better on vibrant backgrounds */

/* Floating WhatsApp */
.wa-float {
    position: fixed; bottom: 30px; right: 30px; background: #25D366; color: white;
    width: 65px; height: 65px; border-radius: 50px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); z-index: 1000; transition: transform 0.3s;
    animation: float 4s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.15) rotate(5deg); animation: none; }
.wa-float svg { width: 35px; height: 35px; fill: white; }

/* =========================================
   MOBILE OPTIMIZATION
   ========================================= */
@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 40px auto 0; gap: 40px; }
    .card.popular { transform: scale(1); }
    .card.popular:hover { transform: translateY(-10px); }
    
    .hamburger { display: block; }
    .nav-menu {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: rgba(30, 27, 75, 0.95); backdrop-filter: blur(20px);
        flex-direction: column; padding: 20px; text-align: center; gap: 20px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease;
    }
    .menu-toggle:checked ~ .nav-menu {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    .btn-nav { width: 100%; margin-top: 10px; }
    
    .btn-group { flex-direction: column; width: 100%; }
    .btn { width: 100%; }

    /* Fix the Stars on Mobile */
    .trust-rating {
        flex-direction: column; /* Stacks the stars above the text */
        gap: 5px; /* Brings them closer together */
        margin-bottom: 15px;
    }
    .trust-rating .stars {
        font-size: 1.3rem; /* Makes the stars slightly bigger on mobile */
        letter-spacing: 4px; /* Spaces the stars out so they look premium */
    }
    .trust-rating .rating-text {
        font-size: 0.85rem; /* Shrinks the long text slightly so it fits perfectly */
        text-align: center;
    }
}