/* ====================================================================
   SKILL AI - MASTER STYLESHEET
   Wersja: 3.1 (Visual Tweaks & Custom Icons)
   Theme: Dark / Neon / Glassmorphism
====================================================================
*/

/* =========================================
   1. ZMIENNE (VARIABLES) & KONFIGURACJA
   ========================================= */
:root {
    /* --- Paleta Główna --- */
    --bg-body: #020617;       /* Głęboki granat/czarny */
    --bg-body-alt: #0b1120;   /* Alternatywne tło */
    --bg-card: #0f172a;       /* Tło kart */
    --bg-card-hover: #1e293b; /* Hover kart */
    
    /* --- Akcenty Neonowe --- */
    --primary: #8b5cf6;       /* Fiolet główny */
    --primary-light: #a78bfa; /* Jasny fiolet */
    --primary-dark: #7c3aed;  /* Ciemny fiolet */
    
    --accent-pink: #ec4899;   /* Róż */
    --accent-pink-glow: rgba(236, 72, 153, 0.4);
    
    --accent-cyan: #06b6d4;   /* Cyjan */
    --accent-blue: #3b82f6;   /* Niebieski */

    /* --- Tekst --- */
    --text-main: #f8fafc;     /* Prawie biały (Slate 50) */
    --text-muted: #94a3b8;    /* Szary (Slate 400) */
    --text-dark: #0f172a;     /* Ciemny tekst na jasnym tle */

    /* --- Ramki i Szkło --- */
    --border-light: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(139, 92, 246, 0.5);
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* --- Cienie --- */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    --shadow-neon: 0 0 20px rgba(139, 92, 246, 0.15);
    
    /* --- Ustawienia Globalne --- */
    --font-main: 'Outfit', sans-serif;
    --container-width: 1240px;
    --header-height: 80px;
    
    /* --- Animacje --- */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   2. RESET & BAZA (GLOBAL STYLES)
   ========================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden; /* Zapobiega poziomemu scrollowaniu */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 5px;
    border: 2px solid var(--bg-body);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
    display: inline-block;
}

ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }
button, input, textarea { font-family: inherit; }

/* Zaznaczenie tekstu */
::selection {
    background: var(--primary);
    color: #fff;
}

/* =========================================
   3. UTILITY CLASSES (POMOCNICZE)
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Typography Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }

/* Gradienty Tekstu */
.gradient-text-pink {
    background: linear-gradient(to right, #f472b6, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.text-gradient-blue {
    background: linear-gradient(to right, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-purple { color: var(--primary); }
.highlight-white { color: #fff; font-weight: 600; }

/* Odsunięcie sekcji od nagłówka przy nawigacji */
section {
    scroll-margin-top: var(--header-height);
    position: relative;
    z-index: 1;
}

/* =========================================
   4. UI COMPONENTS (BUTTONS, BADGES)
   ========================================= */

/* Badge (Pastylka) */
.badge-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}
.badge-pill {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-light);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(139, 92, 246, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
    backdrop-filter: blur(4px);
    transition: var(--transition-base);
}
.badge-pill:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
}
.badge-service {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}

/* Buttons */
.btn-white {
    background: #fff;
    color: #020617;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}
.btn-white:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.25);
    background: #f1f5f9;
}
.btn-white i {
    transition: transform 0.3s ease;
}
.btn-white:hover i {
    transform: translateX(4px);
}

/* Strzałka w przyciskach */
.btn-arrow {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
}
.btn-arrow:hover {
    background: #fff;
    color: #000;
    transform: rotate(-45deg);
}
.btn-arrow-purple:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: rotate(0);
}

/* Button Full Width (Formularz) */
.btn-full {
    width: 100%;
    background: linear-gradient(45deg, var(--primary), var(--accent-pink));
    color: #fff;
    border: none;
    padding: 20px;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex; justify-content: center; align-items: center; gap: 12px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-full::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(45deg, var(--accent-pink), var(--primary));
    z-index: -1;
    transition: opacity 0.5s ease;
    opacity: 0;
}
.btn-full:hover::before { opacity: 1; }
.btn-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

/* =========================================
   5. HEADER & NAVIGATION (FIXED & HAMBURGER)
   ========================================= */
.main-header {
    height: var(--header-height);
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.3s ease;
}

.header-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Ważne dla absolutnego pozycjonowania logo */
    padding: 0 40px; /* ODSUNIĘCIE OD KRAWĘDZI EKRANU */
    max-width: 1600px; /* Szerszy header na dużych ekranach */
    margin: 0 auto;
}

/* --- LEWA STRONA: HAMBURGER --- */
.header-left { 
    flex: 1; 
    display: flex; 
    align-items: center;
}

/* Przycisk Hamburgera */
.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1200; /* Powyżej overlay menu */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 0;
}

.hamburger-btn span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Animacja Hamburgera w X */
.hamburger-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* --- ŚRODEK: LOGO (CENTERED ABSOLUTE) --- */
.header-center { 
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ZMIANA LOGO TUTAJ: Zmniejszone i przesunięte w dół */
.logo-img {
    height: 181px; /* Zmniejszone o ok. 2% z 185px */
    width: auto;
    margin-top: 10px; /* Przesunięte o 5px niżej (było 5px) */
    display: block;
    filter: drop-shadow(0 0 15px rgba(139,92,246,0.15));
    transition: transform 0.3s ease;
}

.logo-link:hover .logo-img { transform: scale(1.05); }


/* --- PRAWA STRONA: AKCJE --- */
.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
}

.header-socials {
    display: flex;
    gap: 18px;
    padding-right: 24px;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.header-socials a {
    color: var(--text-muted);
    font-size: 1.25rem;
}
.header-socials a:hover {
    color: #fff;
    transform: translateY(-3px);
}

.nav-link-login {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}
.nav-link-login:hover { color: #fff; }

/* Cart Button */
.cart-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent-pink));
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}
.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(236, 72, 153, 0.5);
}

/* =========================================
   6. OVERLAY MENU (WYSUWANE MENU)
   ========================================= */
.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1100; /* Poniżej przycisku hamburgera, powyżej nagłówka */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
    transform: translateX(-20px);
}

.overlay-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.overlay-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.overlay-link {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: 0.3s;
    position: relative;
}

.overlay-link:hover {
    color: #fff;
    transform: scale(1.1);
}

/* Kropka pod aktywnym linkiem w menu */
.overlay-link::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent-pink));
    transition: 0.3s;
    border-radius: 4px;
}
.overlay-link:hover::after {
    width: 60%;
}


/* =========================================
   7. HERO SECTION
   ========================================= */
.hero {
    padding: 200px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%; left: 50%;
    transform: translateX(-50%);
    width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(139,92,246,0.18) 0%, rgba(2,6,23,0) 65%);
    z-index: -1;
    animation: pulseGlow 6s infinite alternate;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero-subtext {
    font-size: 1.35rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 70px;
    border-top: 1px solid var(--border-light);
    padding-top: 50px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}
.hero-stats::after {
    content: '';
    position: absolute;
    top: -1px; left: 20%; right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.stat-item { text-align: left; }
.stat-item strong {
    display: block;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 6px;
    font-weight: 700;
}
.stat-item span {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* =========================================
   8. SEKCJA "DLACZEGO MY" (Why Us)
   ========================================= */
.why-us-section {
    padding: 120px 0;
    background: var(--bg-body);
    overflow: hidden;
}

.why-us-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-header { margin-bottom: 40px; }
.why-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}
.why-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.features-grid-small {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
}

.feature-small {
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: var(--transition-fast);
}
.feature-small:hover { transform: translateY(-5px); }

.icon-box {
    width: 54px; height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}
.icon-blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.icon-purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.icon-pink { background: rgba(236, 72, 153, 0.1); color: #ec4899; }

.feature-small:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    border-color: currentColor;
    background: rgba(255,255,255,0.05);
}

.text-box h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 600;
}
.text-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.why-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
}
.why-image-wrapper img {
    width: 100%;
    height: auto;
    transition: transform 0.7s ease;
    display: block;
}
.why-image-wrapper:hover img { transform: scale(1.05); }

/* =========================================
   9. SEKCJA O NAS (About)
   ========================================= */
.about-section {
    padding: 140px 0;
    background: linear-gradient(180deg, var(--bg-body) 0%, #0b1120 100%);
    position: relative;
}

.about-section::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 40%; height: 100%;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 10px);
    z-index: 0;
    pointer-events: none;
    mask-image: linear-gradient(to left, black, transparent);
    -webkit-mask-image: linear-gradient(to left, black, transparent);
}

.about-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: flex-start;
}

.about-text { position: relative; z-index: 2; }
.about-text h2 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 35px;
}
.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    padding-left: 24px;
    border-left: 3px solid var(--border-light);
    transition: border-color 0.3s;
}
.about-text p:hover { border-left-color: var(--primary); }

.about-features-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 2;
    padding-top: 20px;
}

/* ZMIANA WYRÓWNANIA TUTAJ: align-items: center */
.about-feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    padding: 24px;
    border-radius: 20px;
    display: flex;
    align-items: center; /* Wyśrodkowanie pionowe ikonki względem tekstu */
    gap: 20px;
    transition: var(--transition-base);
    backdrop-filter: blur(5px);
}

.about-feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateX(10px);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

.af-icon {
    width: 50px; height: 50px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: var(--primary);
    flex-shrink: 0;
    position: relative; /* Potrzebne do customowej ikonki MacOS */
}
.af-content h4 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: #fff;
}
.af-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0; /* Reset marginesu */
}

/* --- CUSTOM ICONS W SEKCJ O NAS --- */

/* Ikonka MacOS (3 kropki) dla pierwszej karty */
/* Celujemy w pusty .af-icon w pierwszym dziecku .about-feature-card */
.about-feature-card:nth-child(1) .af-icon::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f56; /* Czerwona kropka */
    /* Tworzymy żółtą i zieloną kropkę za pomocą cienia */
    box-shadow: 16px 0 0 #ffbd2e, 32px 0 0 #27c93f;
    margin-left: -16px; /* Centrowanie grupy kropek */
}
/* Usuwamy tło i kolor dla kontenera tej konkretnej ikonki */
.about-feature-card:nth-child(1) .af-icon {
    background: transparent;
    color: transparent;
}


/* =========================================
   10. SEKCJA KURSÓW (Courses Grid)
   ========================================= */
.courses-section {
    padding: 120px 0;
    background: var(--bg-body);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.section-header h2 { font-size: 3.5rem; margin-bottom: 20px; }
.section-header p {
    color: var(--text-muted);
    font-size: 1.25rem;
}

.courses-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.course-card-new {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 30px 24px;
    position: relative;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.course-card-new:hover {
    transform: translateY(-12px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
    background: var(--bg-card-hover);
}

.card-badge {
    position: absolute;
    top: 20px; right: 20px;
    background: rgba(139, 92, 246, 0.2);
    color: var(--primary-light);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }

.card-icon {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 24px;
    width: 64px; height: 64px;
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition-base);
}
.course-card-new:hover .card-icon {
    background: var(--primary);
    color: #fff;
    transform: rotateY(180deg);
}

.course-card-new h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.course-features {
    margin-bottom: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.course-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #cbd5e1;
}
.course-features li i {
    color: var(--primary);
    margin-top: 3px;
    font-size: 0.8rem;
}

.card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.price-info { display: flex; flex-direction: column; }
.limit-text {
    font-size: 0.7rem;
    color: var(--accent-pink);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.old-price {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: #64748b;
}
.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

/* =========================================
   11. FORMULARZ & KONTAKT
   ========================================= */
.consultation-section {
    padding: 120px 0;
    position: relative;
}

.consultation-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 32px;
    padding: 80px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    background-image: radial-gradient(circle at top right, rgba(139,92,246,0.1), transparent 50%);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.consultation-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent-pink), transparent);
}

.consultation-card h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.form-desc {
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group { position: relative; }

.form-input, .form-textarea {
    width: 100%;
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid var(--border-light);
    padding: 18px 24px;
    border-radius: 14px;
    color: #fff;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(255,255,255,0.25);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(2, 6, 23, 0.8);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-legal {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 24px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   12. FOOTER (Stopka)
   ========================================= */
.main-footer {
    background: #000;
    border-top: 1px solid var(--border-light);
    padding: 100px 0 40px;
}

.footer-content { margin-bottom: 60px; }

.footer-brand h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #fff;
}
.footer-brand span { color: var(--primary); }

.footer-simple-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.footer-simple-links a {
    font-size: 1rem;
    color: var(--text-muted);
    position: relative;
}
.footer-simple-links a:hover {
    color: #fff;
}
.footer-simple-links a::before {
    content: '';
    position: absolute;
    bottom: -5px; left: 0; width: 0; height: 1px;
    background: var(--primary);
    transition: width 0.3s;
}
.footer-simple-links a:hover::before { width: 100%; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-socials { display: flex; gap: 24px; }
.footer-socials a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: var(--transition-base);
}
.footer-socials a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-5px);
}

/* =========================================
   13. ANIMACJE (KEYFRAMES)
   ========================================= */
@keyframes pulseGlow {
    0% { transform: translateX(-50%) scale(1); opacity: 0.4; }
    100% { transform: translateX(-50%) scale(1.15); opacity: 0.7; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-stats { animation: fadeIn 1s ease-out 0.5s backwards; }
.badge-pill { animation: fadeIn 1s ease-out 0s backwards; }
.hero h1 { animation: fadeIn 1s ease-out 0.2s backwards; }

/* =========================================
   14. MEDIA QUERIES (RESPONSYWNOŚĆ)
   ========================================= */

/* --- XL Screens --- */
@media (max-width: 1400px) {
    .container { max-width: 1140px; }
    .logo-img { height: 150px; }
    .courses-grid-new { gap: 20px; }
}

/* --- Laptops --- */
@media (max-width: 1200px) {
    .container { max-width: 960px; padding: 0 30px; }
    .hero h1 { font-size: 4rem; }
    .courses-grid-new { grid-template-columns: repeat(2, 1fr); }
    .about-text h2 { font-size: 2.8rem; }
}

/* --- Tablets (Mobile Logic) --- */
@media (max-width: 992px) {
    .container { max-width: 720px; }
    :root { --header-height: 70px; }

    .header-container { padding: 0 24px; }
    
    .why-us-container { grid-template-columns: 1fr; gap: 50px; }
    .why-image-wrapper { order: -1; height: 350px; }
    .why-image-wrapper img { height: 100%; object-fit: cover; }

    .about-container { grid-template-columns: 1fr; text-align: center; gap: 50px; }
    .about-text p { border-left: none; padding-left: 0; max-width: 600px; margin: 0 auto 30px; }
    .about-features-grid { align-items: center; }
    .about-feature-card { width: 100%; max-width: 500px; }

    .header-socials { display: none; }
}

/* --- Mobile Large --- */
@media (max-width: 768px) {
    .container { max-width: 540px; padding: 0 20px; }

    .header-container { padding: 0 20px; }
    .logo-img { height: 120px; }
    
    .cart-btn span, .cart-btn { padding: 10px; border-radius: 50%; width: 40px; height: 40px; justify-content: center; }
    .cart-btn { gap: 0; }
    .cart-btn i { font-size: 1.1rem; }
    
    .nav-link-login { display: none; }

    .hero { padding-top: 150px; }
    .hero h1 { font-size: 2.8rem; }
    
    .hero-stats { flex-wrap: wrap; gap: 30px; justify-content: center; text-align: center; }
    .stat-item { width: 40%; text-align: center; }
    .hero-stats::after { display: none; }

    .features-grid-small { grid-template-columns: 1fr; }
    .courses-grid-new { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
    
    .consultation-card { padding: 40px 24px; }
    .form-grid { grid-template-columns: 1fr; gap: 15px; }
}

/* --- Mobile Small --- */
@media (max-width: 576px) {
    .container { width: 100%; padding: 0 16px; }
    .header-container { padding: 0 16px; }
    
    .logo-img { height: 100px; }
    
    .hero h1 { font-size: 2.4rem; letter-spacing: -1px; }
    .btn-white { width: 100%; justify-content: center; }
    .stat-item { width: 100%; margin-bottom: 10px; }
    
    .overlay-link { font-size: 2rem; }
    
    .footer-simple-links { flex-direction: column; gap: 15px; }
    .form-input, .form-textarea { padding: 15px; font-size: 16px; }
}

/* ====================================================================
   SKILL AI - MASTER STYLESHEET
   Wersja: 3.1 (Visual Tweaks & Custom Icons)
   Theme: Dark / Neon / Glassmorphism
====================================================================
*/

/* ... (Zostaw całą górną część bez zmian, aż do sekcji header) ... */
/* SKOPIUJ CAŁOŚĆ PONIŻEJ, ZAWIERA STARE STYLE + NOWE DLA KOSZYKA I FOLDERU */

:root {
    --bg-body: #020617;
    --bg-body-alt: #0b1120;
    --bg-card: #0f172a;
    --bg-card-hover: #1e293b;
    --primary: #8b5cf6;
    --primary-light: #a78bfa;
    --primary-dark: #7c3aed;
    --accent-pink: #ec4899;
    --accent-pink-glow: rgba(236, 72, 153, 0.4);
    --accent-cyan: #06b6d4;
    --accent-blue: #3b82f6;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #0f172a;
    --border-light: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(139, 92, 246, 0.5);
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    --shadow-neon: 0 0 20px rgba(139, 92, 246, 0.15);
    --font-main: 'Outfit', sans-serif;
    --container-width: 1240px;
    --header-height: 80px;
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-main); background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 5px; border: 2px solid var(--bg-body); }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
a { text-decoration: none; color: inherit; transition: var(--transition-base); display: inline-block; }
ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }
button, input, textarea { font-family: inherit; }
::selection { background: var(--primary); color: #fff; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; width: 100%; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
.gradient-text-pink { background: linear-gradient(to right, #f472b6, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: inline-block; }
.text-gradient-blue { background: linear-gradient(to right, #60a5fa, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-purple { color: var(--primary); }
.highlight-white { color: #fff; font-weight: 600; }
section { scroll-margin-top: var(--header-height); position: relative; z-index: 1; }

.badge-wrapper { display: flex; justify-content: center; margin-bottom: 30px; }
.badge-pill { background: rgba(139, 92, 246, 0.1); color: var(--primary-light); padding: 8px 24px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; border: 1px solid rgba(139, 92, 246, 0.3); display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 0 20px rgba(139, 92, 246, 0.1); backdrop-filter: blur(4px); transition: var(--transition-base); }
.badge-pill:hover { background: rgba(139, 92, 246, 0.2); transform: translateY(-2px); }
.badge-service { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.2); }

.btn-white { background: #fff; color: #020617; padding: 16px 36px; border-radius: 50px; font-weight: 700; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 12px; transition: var(--transition-smooth); border: 2px solid transparent; }
.btn-white:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(255, 255, 255, 0.25); background: #f1f5f9; }
.btn-white i { transition: transform 0.3s ease; }
.btn-white:hover i { transform: translateX(4px); }

/* Buttons modified for Cart */
.btn-arrow { width: 44px; height: 44px; background: rgba(255,255,255,0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; border: 1px solid transparent; transition: var(--transition-smooth); cursor: pointer; }
.btn-arrow:hover { background: #fff; color: #000; transform: scale(1.1); }
.btn-arrow-purple:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: scale(1.1); }

.btn-full { width: 100%; background: linear-gradient(45deg, var(--primary), var(--accent-pink)); color: #fff; border: none; padding: 20px; border-radius: 14px; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: var(--transition-smooth); display: flex; justify-content: center; align-items: center; gap: 12px; position: relative; overflow: hidden; z-index: 1; }
.btn-full::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, var(--accent-pink), var(--primary)); z-index: -1; transition: opacity 0.5s ease; opacity: 0; }
.btn-full:hover::before { opacity: 1; }
.btn-full:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3); }

.main-header { height: var(--header-height); background: rgba(2, 6, 23, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; border-bottom: 1px solid var(--border-light); transition: background 0.3s ease; }
.header-container { height: 100%; display: flex; justify-content: space-between; align-items: center; position: relative; padding: 0 40px; max-width: 1600px; margin: 0 auto; }
.header-left { flex: 1; display: flex; align-items: center; }
.hamburger-btn { background: none; border: none; cursor: pointer; width: 40px; height: 40px; position: relative; z-index: 1200; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0; }
.hamburger-btn span { display: block; width: 28px; height: 2px; background-color: #fff; border-radius: 2px; transition: all 0.3s ease-in-out; }
.hamburger-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.header-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1001; display: flex; justify-content: center; align-items: center; }
.logo-img { height: 181px; width: auto; margin-top: 10px; display: block; filter: drop-shadow(0 0 15px rgba(139,92,246,0.15)); transition: transform 0.3s ease; }
.logo-link:hover .logo-img { transform: scale(1.05); }

.header-right { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 30px; }
.header-socials { display: flex; gap: 18px; padding-right: 24px; border-right: 1px solid rgba(255,255,255,0.1); }
.header-socials a { color: var(--text-muted); font-size: 1.25rem; }
.header-socials a:hover { color: #fff; transform: translateY(-3px); }
.nav-link-login { color: var(--text-muted); font-weight: 600; font-size: 0.95rem; }
.nav-link-login:hover { color: #fff; }

.cart-btn { background: linear-gradient(135deg, var(--primary), var(--accent-pink)); color: #fff; padding: 10px 24px; border-radius: 50px; font-size: 0.9rem; font-weight: 700; display: flex; align-items: center; gap: 8px; border: none; box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3); position: relative; overflow: hidden; }
.cart-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(236, 72, 153, 0.5); }
.cart-count { background: #fff; color: var(--primary); width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800; }

.overlay-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(2, 6, 23, 0.95); backdrop-filter: blur(20px); z-index: 1100; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.4s ease-in-out; transform: translateX(-20px); }
.overlay-menu.active { opacity: 1; visibility: visible; transform: translateX(0); }
.overlay-nav { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.overlay-link { font-size: 2.5rem; font-weight: 700; color: var(--text-muted); transition: 0.3s; position: relative; }
.overlay-link:hover { color: #fff; transform: scale(1.1); }
.overlay-link::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent-pink)); transition: 0.3s; border-radius: 4px; }
.overlay-link:hover::after { width: 60%; }

.hero { padding: 200px 0 120px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 900px; height: 900px; background: radial-gradient(circle, rgba(139,92,246,0.18) 0%, rgba(2,6,23,0) 65%); z-index: -1; animation: pulseGlow 6s infinite alternate; }
.hero h1 { font-size: 5rem; font-weight: 800; line-height: 1.05; margin-bottom: 30px; letter-spacing: -2px; }
.hero-subtext { font-size: 1.35rem; color: var(--text-muted); max-width: 750px; margin: 0 auto 50px; line-height: 1.7; }
.hero-stats { display: flex; justify-content: center; gap: 70px; border-top: 1px solid var(--border-light); padding-top: 50px; max-width: 1000px; margin: 0 auto; position: relative; }
.hero-stats::after { content: ''; position: absolute; top: -1px; left: 20%; right: 20%; height: 1px; background: linear-gradient(90deg, transparent, var(--primary), transparent); }
.stat-item { text-align: left; }
.stat-item strong { display: block; font-size: 1.6rem; color: #fff; margin-bottom: 6px; font-weight: 700; }
.stat-item span { color: var(--text-muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }

.why-us-section { padding: 120px 0; background: var(--bg-body); overflow: hidden; }
.why-us-container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-header { margin-bottom: 40px; }
.why-header h2 { font-size: 3rem; margin-bottom: 20px; line-height: 1.2; }
.why-desc { color: var(--text-muted); font-size: 1.1rem; line-height: 1.8; }
.features-grid-small { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 30px; }
.feature-small { display: flex; flex-direction: column; gap: 15px; transition: var(--transition-fast); }
.feature-small:hover { transform: translateY(-5px); }
.icon-box { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; transition: var(--transition-smooth); border: 1px solid transparent; }
.icon-blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.icon-purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.icon-pink { background: rgba(236, 72, 153, 0.1); color: #ec4899; }
.feature-small:hover .icon-box { transform: scale(1.1) rotate(5deg); border-color: currentColor; background: rgba(255,255,255,0.05); }
.text-box h4 { font-size: 1.15rem; margin-bottom: 8px; color: #fff; font-weight: 600; }
.text-box p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; }
.why-image-wrapper { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--border-light); box-shadow: var(--shadow-lg); }
.why-image-wrapper img { width: 100%; height: auto; transition: transform 0.7s ease; display: block; }
.why-image-wrapper:hover img { transform: scale(1.05); }

.about-section { padding: 140px 0; background: linear-gradient(180deg, var(--bg-body) 0%, #0b1120 100%); position: relative; }
.about-section::after { content: ''; position: absolute; top: 0; right: 0; width: 40%; height: 100%; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 10px); z-index: 0; pointer-events: none; mask-image: linear-gradient(to left, black, transparent); -webkit-mask-image: linear-gradient(to left, black, transparent); }
.about-container { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px; align-items: flex-start; }
.about-text { position: relative; z-index: 2; }
.about-text h2 { font-size: 3.2rem; line-height: 1.15; margin-bottom: 35px; }
.about-text p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.8; margin-bottom: 30px; padding-left: 24px; border-left: 3px solid var(--border-light); transition: border-color 0.3s; }
.about-text p:hover { border-left-color: var(--primary); }
.about-features-grid { display: flex; flex-direction: column; gap: 24px; position: relative; z-index: 2; padding-top: 20px; }
.about-feature-card { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-light); padding: 24px; border-radius: 20px; display: flex; align-items: center; gap: 20px; transition: var(--transition-base); backdrop-filter: blur(5px); }
.about-feature-card:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--primary); transform: translateX(10px); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5); }
.af-icon { width: 50px; height: 50px; background: rgba(139, 92, 246, 0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--primary); flex-shrink: 0; position: relative; }
.af-content h4 { font-size: 1.2rem; margin-bottom: 6px; color: #fff; }
.af-content p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
.about-feature-card:nth-child(1) .af-icon::before { content: ''; display: block; width: 10px; height: 10px; border-radius: 50%; background: #ff5f56; box-shadow: 16px 0 0 #ffbd2e, 32px 0 0 #27c93f; margin-left: -16px; }
.about-feature-card:nth-child(1) .af-icon { background: transparent; color: transparent; }

.courses-section { padding: 120px 0; background: var(--bg-body); }
.section-header { text-align: center; margin-bottom: 80px; max-width: 800px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 3.5rem; margin-bottom: 20px; }
.section-header p { color: var(--text-muted); font-size: 1.25rem; }
.courses-grid-new { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.course-card-new { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 24px; padding: 30px 24px; position: relative; transition: var(--transition-smooth); display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.course-card-new:hover { transform: translateY(-12px); border-color: rgba(139, 92, 246, 0.4); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5); background: var(--bg-card-hover); }
.card-badge { position: absolute; top: 20px; right: 20px; background: rgba(139, 92, 246, 0.2); color: var(--primary-light); padding: 6px 14px; border-radius: 30px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.card-icon { font-size: 2.5rem; color: var(--text-main); margin-bottom: 24px; width: 64px; height: 64px; background: rgba(255,255,255,0.03); border-radius: 16px; display: flex; align-items: center; justify-content: center; transition: var(--transition-base); }
.course-card-new:hover .card-icon { background: var(--primary); color: #fff; transform: rotateY(180deg); }
.course-card-new h3 { font-size: 1.4rem; margin-bottom: 15px; line-height: 1.3; font-weight: 700; }
.card-desc { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 20px; flex-grow: 1; }
.course-features { margin-bottom: 25px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); }
.course-features li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 0.85rem; color: #cbd5e1; }
.course-features li i { color: var(--primary); margin-top: 3px; font-size: 0.8rem; }
.card-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; }
.price-info { display: flex; flex-direction: column; }
.limit-text { font-size: 0.7rem; color: var(--accent-pink); font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.old-price { font-size: 0.85rem; text-decoration: line-through; color: #64748b; }
.current-price { font-size: 1.5rem; font-weight: 700; color: #fff; }

.consultation-section { padding: 120px 0; position: relative; }
.consultation-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 32px; padding: 80px; text-align: center; max-width: 900px; margin: 0 auto; background-image: radial-gradient(circle at top right, rgba(139,92,246,0.1), transparent 50%); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; z-index: 1; }
.consultation-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--primary), var(--accent-pink), transparent); }
.consultation-card h2 { font-size: 3rem; margin-bottom: 20px; }
.form-desc { color: var(--text-muted); margin-bottom: 50px; max-width: 600px; margin-left: auto; margin-right: auto; font-size: 1.1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.form-group { position: relative; }
.form-input, .form-textarea { width: 100%; background: rgba(2, 6, 23, 0.6); border: 1px solid var(--border-light); padding: 18px 24px; border-radius: 14px; color: #fff; font-size: 1rem; transition: var(--transition-fast); }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--primary); background: rgba(2, 6, 23, 0.8); box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15); }
.form-textarea { resize: vertical; min-height: 150px; }
.form-legal { font-size: 0.8rem; color: #64748b; margin-top: 24px; max-width: 80%; margin-left: auto; margin-right: auto; }

.main-footer { background: #000; border-top: 1px solid var(--border-light); padding: 100px 0 40px; }
.footer-content { margin-bottom: 60px; }
.footer-brand h3 { font-size: 2.2rem; margin-bottom: 20px; letter-spacing: -1px; color: #fff; }
.footer-brand span { color: var(--primary); }
.footer-simple-links { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.footer-simple-links a { font-size: 1rem; color: var(--text-muted); position: relative; }
.footer-simple-links a:hover { color: #fff; }
.footer-simple-links a::before { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 1px; background: var(--primary); transition: width 0.3s; }
.footer-simple-links a:hover::before { width: 100%; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-socials { display: flex; gap: 24px; }
.footer-socials a { width: 40px; height: 40px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--text-muted); font-size: 1.1rem; transition: var(--transition-base); }
.footer-socials a:hover { background: var(--primary); color: #fff; transform: translateY(-5px); }

@keyframes pulseGlow { 0% { transform: translateX(-50%) scale(1); opacity: 0.4; } 100% { transform: translateX(-50%) scale(1.15); opacity: 0.7; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-stats { animation: fadeIn 1s ease-out 0.5s backwards; }
.badge-pill { animation: fadeIn 1s ease-out 0s backwards; }
.hero h1 { animation: fadeIn 1s ease-out 0.2s backwards; }

@media (max-width: 1400px) { .container { max-width: 1140px; } .logo-img { height: 150px; } .courses-grid-new { gap: 20px; } }
@media (max-width: 1200px) { .container { max-width: 960px; padding: 0 30px; } .hero h1 { font-size: 4rem; } .courses-grid-new { grid-template-columns: repeat(2, 1fr); } .about-text h2 { font-size: 2.8rem; } }
@media (max-width: 992px) { .container { max-width: 720px; } :root { --header-height: 70px; } .header-container { padding: 0 24px; } .why-us-container { grid-template-columns: 1fr; gap: 50px; } .why-image-wrapper { order: -1; height: 350px; } .why-image-wrapper img { height: 100%; object-fit: cover; } .about-container { grid-template-columns: 1fr; text-align: center; gap: 50px; } .about-text p { border-left: none; padding-left: 0; max-width: 600px; margin: 0 auto 30px; } .about-features-grid { align-items: center; } .about-feature-card { width: 100%; max-width: 500px; } .header-socials { display: none; } }
@media (max-width: 768px) { .container { max-width: 540px; padding: 0 20px; } .header-container { padding: 0 20px; } .logo-img { height: 120px; } .cart-btn span, .cart-btn { padding: 10px; border-radius: 50%; width: 40px; height: 40px; justify-content: center; } .cart-btn { gap: 0; } .cart-btn i { font-size: 1.1rem; } .nav-link-login { display: none; } .hero { padding-top: 150px; } .hero h1 { font-size: 2.8rem; } .hero-stats { flex-wrap: wrap; gap: 30px; justify-content: center; text-align: center; } .stat-item { width: 40%; text-align: center; } .hero-stats::after { display: none; } .features-grid-small { grid-template-columns: 1fr; } .courses-grid-new { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; } .consultation-card { padding: 40px 24px; } .form-grid { grid-template-columns: 1fr; gap: 15px; } }
@media (max-width: 576px) { .container { width: 100%; padding: 0 16px; } .header-container { padding: 0 16px; } .logo-img { height: 100px; } .hero h1 { font-size: 2.4rem; letter-spacing: -1px; } .btn-white { width: 100%; justify-content: center; } .stat-item { width: 100%; margin-bottom: 10px; } .overlay-link { font-size: 2rem; } .footer-simple-links { flex-direction: column; gap: 15px; } .form-input, .form-textarea { padding: 15px; font-size: 16px; } }

/* --- NOWE STYLE (CART PAGE & MY COURSES) --- */

/* Tabela w koszyku */
.cart-table-wrapper { overflow-x: auto; margin-bottom: 30px; }
.cart-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.cart-table th { text-align: left; padding: 15px; border-bottom: 1px solid var(--border-light); color: var(--text-muted); font-size: 0.9rem; }
.cart-table td { padding: 20px 15px; border-bottom: 1px solid rgba(255,255,255,0.05); color: #fff; }
.cart-total-row td { border-bottom: none; font-weight: 700; font-size: 1.2rem; padding-top: 30px; }

/* Opcje Checkoutu (Logowanie/Gość) */
.checkout-options { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 50px; }
.checkout-box { background: var(--bg-card); padding: 40px; border-radius: 20px; border: 1px solid var(--border-light); text-align: center; transition: var(--transition-base); }
.checkout-box:hover { border-color: var(--primary); }
.checkout-box h3 { font-size: 1.5rem; margin-bottom: 15px; }
.checkout-box p { color: var(--text-muted); margin-bottom: 25px; font-size: 0.95rem; }

/* Folder MacOS */
.folder-container { text-align: center; margin-top: 50px; }
.macos-folder {
    font-size: 8rem;
    background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 20px rgba(59, 130, 246, 0.4));
    transition: transform 0.3s ease;
    display: inline-block;
    cursor: pointer;
}
.macos-folder:hover { transform: scale(1.1); }
.download-text { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; display: block; }
.arrow-down-anim { animation: bounce 2s infinite; font-size: 1.5rem; color: var(--text-muted); }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

.success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}










/* =========================================
   POPRAWKI (Dodaj to na samym dole style.css)
   ========================================= */

/* 1. Powiększenie nagłówka, żeby zmieściło się logo */
.main-header {
    height: 120px !important; /* Zwiększamy wysokość paska */
}

/* 2. Powiększenie logo o 60% (z 65px na ok. 105px) */
.logo-img {
    height: 105px !important;
    max-height: 120px;
}

/* 3. Przesunięcie sekcji Hero w dół, żeby nie chowała się pod większym nagłówkiem */
.hero {
    padding-top: 180px !important;
}

/* 4. Dostosowanie na tabletach (opcjonalnie) */
@media (max-width: 992px) {
    .main-header { height: 100px !important; }
    .logo-img { height: 85px !important; }
    .hero { padding-top: 150px !important; }
}

/* 5. Dostosowanie na telefonach */
@media (max-width: 600px) {
    .main-header { height: 90px !important; }
    .logo-img { height: 70px !important; }
    .hero { padding-top: 140px !important; }
}







/* --- POPRAWKI KOŃCOWE --- */

/* 1. Mniejszy pasek nawigacji */
.main-header {
    height: 80px !important; /* Zmniejszono z 120px */
}

/* 2. Większe logo (o 60%) */
.logo-img {
    height: 65px !important; /* Bazowa wysokość */
    transform: scale(1.6);   /* Fizyczne powiększenie o 60% */
    transform-origin: center;
    position: relative;
    top: 5px; /* Delikatne wyrównanie w dół */
}

/* 3. Poprawka dla nowej ikonki Mózgu (żeby była duża i wyraźna) */
.icon-blue i.fa-brain {
    font-size: 1.6rem; 
    filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.5)); /* Lekka poświata jak na grafice */
}












/* === DODATKI === */
.close-menu-btn { position: absolute; top: 30px; right: 30px; background: none; border: none; color: #fff; font-size: 3rem; cursor: pointer; line-height: 1; transition: 0.3s; }
.close-menu-btn:hover { color: var(--accent-pink); transform: rotate(90deg); }

.modal-backdrop { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(2, 6, 23, 0.9); backdrop-filter: blur(8px); align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity 0.3s; }
.modal-backdrop.show { display: flex; opacity: 1; }
.modal-content-box { background: linear-gradient(145deg, var(--bg-card) 0%, #1e1b4b 100%); border: 1px solid var(--primary); border-radius: 24px; padding: 40px; max-width: 600px; width: 100%; position: relative; transform: scale(0.8); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); text-align: center; }
.modal-backdrop.show .modal-content-box { transform: scale(1); }
.close-modal { color: var(--text-muted); position: absolute; top: 20px; right: 25px; font-size: 28px; cursor: pointer; transition: 0.3s; }
.close-modal:hover { color: #fff; }
.modal-header h2 { margin-bottom: 5px; font-size: 1.8rem; }
.modal-header h3 { font-size: 1.2rem; color: #fff; margin-bottom: 25px; font-weight: 400; }
.modal-body p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; margin-bottom: 20px; text-align: justify; }



















/* === POPRAWKI WIZUALNE: KOSZYK I LOGO === */

/* 1. Licznik w koszyku - ładne kółko */
.cart-count {
    font-family: 'Outfit', sans-serif; /* Twoja główna czcionka */
    font-weight: 800; /* Bardzo pogrubione */
    font-size: 0.85rem;
    color: #0f172a; /* Ciemny tekst dla kontrastu */
    background: #fff;
    
    /* Idealne centrowanie liczby w kółku */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    width: 22px;  /* Sztywne wymiary dla idealnego koła */
    height: 22px;
    border-radius: 50%;
    margin-left: 8px;
    padding: 0; /* Reset paddingu */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4); /* Lekka poświata */
    vertical-align: middle;
}

/* 2. Logo - Powiększone i przesunięte */
.logo-img {
    height: 65px; /* Powiększone o ok. 35% (zakładając standard 45-50px) */
    width: auto;
    margin-top: -15px; /* Przesunięcie w górę */
    transition: all 0.4s ease; /* Płynne przejście */
}

/* 3. Logo - Efekt poświaty zamiast oddalania */
.logo-link:hover .logo-img {
    transform: scale(1) !important; /* Blokada pomniejszania */
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.6)); /* Fioletowa poświata */
}

/* 4. Naprawa uciekającego logo (Centrowanie na siłę) */
/* === FINALNA POPRAWKA LOGO === */

.header-center {
    /* To gwarantuje, że logo jest ZAWSZE na środku względem ekranu */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
}

.logo-img {
    /* Powiększone o 35% względem standardu */
    height: 95px !important; 
    width: auto;
    
    /* Podniesione o 30px do góry */
    margin-top: -30px !important; 
    
    /* Płynna animacja */
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Usunięcie ewentualnych filtrów pomniejszających */
    transform-origin: center;
}

/* EFEKT PO NAJECHANIU */
.logo-link:hover .logo-img {
    /* Powiększenie o 4% */
    transform: scale(1.04) !important; 
    
    /* Dodatkowy efekt świetlny (opcjonalnie) */
    filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.4));
}

/* ============================================================
   NAPRAWCZE STYLE - LOGO I KOSZYK (Wklej na samym dole pliku)
   ============================================================ */

/* 1. RESET NAGŁÓWKA - blokujemy dziwne zachowania */
.header-center {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: auto !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1001 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. LOGO - DUŻE I STABILNE */
.logo-img {
    height: 95px !important;    /* Duże logo */
    width: auto !important;
    margin-top: -25px !important; /* Podniesienie o ok. 30px */
    display: block !important;
    
    /* Wyłączamy wszelkie transformacje, które mogą je zmniejszać */
    transform: none !important; 
    max-width: none !important;
    
    /* Płynne przejście tylko dla cienia/poświaty */
    transition: filter 0.3s ease !important;
}

/* 3. LOGO PO NAJECHANIU - TYLKO POŚWIATA (Zero zmiany rozmiaru) */
.logo-link:hover .logo-img {
    /* To jest kluczowe: wymuszamy brak skalowania */
    transform: none !important; 
    width: auto !important;
    height: 95px !important;
    
    /* Jedyny efekt to kolorowa poświata */
    filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.6)) !important;
}

.logo-link {
    /* Upewniamy się, że sam link nie ma dziwnych marginesów */
    display: block !important;
    transform: none !important;
}

/* 4. KOSZYK - ŁADNE KÓŁECZKO */
.cart-count {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800 !important;
    font-size: 0.8rem !important;
    color: #0f172a !important; /* Ciemny tekst */
    background: #fff !important; /* Białe tło */
    
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin-left: 8px !important;
    line-height: 1 !important;
    
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5) !important;
}

/* 5. FIX DLA MOBILNYCH (Żeby logo nie zasłaniało wszystkiego na telefonie) */
@media (max-width: 768px) {
    .logo-img {
        height: 70px !important; /* Mniejsze na telefonie */
        margin-top: -10px !important;
    }
}











/* === POPRAWKA HACZYKÓW NA LIŚCIE === */
.course-features li i {
    /* Zwiększamy margines z góry, aby obniżyć ikonkę względem tekstu */
    margin-top: 7px !important; 
    
    /* Upewniamy się, że są wyrównane */
    align-self: flex-start !important;
}












/* =========================================
   POPRAWKI FINALNE (Logo 230px, Wielkie ikony)
   ========================================= */

/* 1. LOGO - Gigantyczne i przesunięte w dół */
.header-center {
    overflow: visible !important; /* Pozwala logo wystawać */
}

.logo-img {
    height: 230px !important;       /* Wymuszona wysokość */
    width: auto !important;
    
    /* Przesunięcie w dół o 50px względem środka */
    margin-top: 50px !important;    
    
    /* Resetujemy poprzednie transformacje, żeby margin zadziałał */
    transform: none !important;     
    
    /* Upewniamy się, że logo jest nad treścią strony */
    position: relative;
    z-index: 1000; 
}

/* Upewniamy się, że pasek nawigacji nie ucina logo */
.main-header, .header-container {
    overflow: visible !important;
}

/* 2. MODAL - Wielka ikona "Ludzików" (góra modala) */
.modal-icon-glow {
    /* Powiększamy też kółko w tle, żeby ikona się zmieściła */
    width: 150px !important; 
    height: 150px !important;
    margin-bottom: 30px !important;
}

.modal-icon-glow i {
    /* Powiększenie o ok. 265% */
    font-size: 6.5rem !important; 
}

/* 3. MODAL - Wielka ikona Discorda */
.discord-box i {
    /* Powiększenie o 180% */
    font-size: 4rem !important; 
    margin-right: 15px; /* Odstęp od tekstu */
}

.discord-box {
    align-items: center !important; /* Wyrównanie pionowe */
}


/* =========================================
   POPRAWKA LOGO - POZYCJA I ANIMACJA (FINALNA)
   ========================================= */

.logo-img {
    /* 1. POZYCJA: Podniesienie o 80px względem poprzedniego stanu */
    /* Było 50px, więc 50 - 80 = -30px */
    margin-top: 5px !important;
    
    /* Zachowujemy duży rozmiar */
    height: 250px !important;
    width: auto !important;

    /* 2. ANIMACJA BAZOWA */
    /* Ustawiamy długi czas (0.6s) i miękkie przejście (ease-out) */
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease !important;
    
    /* Ważne: Definiujemy stan początkowy, żeby przeglądarka nie "zgadywała" */
    transform: scale(1) !important;
    filter: drop-shadow(0 0 0 rgba(0,0,0,0));
}

/* 3. EFEKT PO NAJECHANIU (HOVER) */
.logo-link:hover .logo-img {
    /* Delikatne powiększenie o 2% */
    transform: scale(1.02) !important;
    
    /* Poświata */
    filter: drop-shadow(0 0 25px rgba(168, 85, 247, 0.5)) !important;
}

/* Zabezpieczenie kontenera, żeby logo nie było ucinane przy podnoszeniu */
.header-center {
    overflow: visible !important;
    z-index: 2000 !important;
}


/* =========================================
   POPRAWKA CENTROWANIA IKONY "LUDZIKÓW" (FINAL)
   ========================================= */

.modal-icon-glow {
    /* 1. Centrowanie całego kółka na środku modala */
    margin-left: auto !important;
    margin-right: auto !important;
    
    /* 2. Centrowanie ikonki WEWNĄTRZ kółka */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    /* 3. Zachowanie dużych rozmiarów */
    width: 150px !important;
    height: 150px !important;
    margin-bottom: 30px !important;
}

.modal-icon-glow i {
    /* Upewnienie się, że ikonka nie ma własnych przesunięć */
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    
    /* Wielkość */
    font-size: 6.5rem !important; 
}













/* =========================================
   STYL OKNA REGULAMINU
   ========================================= */

/* Kontener na długi tekst regulaminu - pozwala na przewijanie */
.modal-scrollable-body {
    max-height: 60vh; /* Maksymalna wysokość to 60% ekranu */
    overflow-y: auto; /* Włącz suwak, gdy tekst jest za długi */
    text-align: left; /* Tekst prawny czyta się lepiej wyrównany do lewej */
    padding: 10px 20px;
    margin: 20px 0;
    background: rgba(15, 23, 42, 0.5); /* Lekko ciemniejsze tło pod tekst */
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Wygląd suwaka w regulaminie */
.modal-scrollable-body::-webkit-scrollbar {
    width: 8px;
}
.modal-scrollable-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}
.modal-scrollable-body::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* Nagłówki w regulaminie */
.terms-header {
    color: var(--primary-light);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    padding-bottom: 5px;
}

/* Ważne ostrzeżenia w regulaminie */
.terms-warning {
    color: #f87171; /* Czerwony */
    font-weight: bold;
    background: rgba(239, 68, 68, 0.1);
    padding: 10px;
    border-radius: 5px;
    border-left: 3px solid #f87171;
    margin: 10px 0;
}





























/* === KOMENTARZE - MARQUEE === */
.comments-section {
    padding: 80px 0;
    overflow: hidden; /* Ukrywamy to co wyjeżdża */
    background: var(--bg-body-alt);
}
.marquee-wrapper {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollComments 40s linear infinite;
}
.comment-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 20px;
    border-radius: 16px;
    min-width: 300px;
    max-width: 300px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.comment-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 5px;
}
.comment-course-name {
    color: var(--primary);
    font-weight: 700;
}
@keyframes scrollComments {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Przesuwamy o połowę (musimy zduplikować content w PHP) */
}

/* === ADMIN TOOLBAR === */
.admin-toolbar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #000;
    border: 1px solid var(--primary);
    padding: 15px;
    border-radius: 10px;
    z-index: 9999;
    display: flex;
    gap: 10px;
    box-shadow: 0 0 20px var(--primary);
}
[contenteditable="true"] {
    outline: 2px dashed var(--primary);
    cursor: text;
}
[contenteditable="true"]:focus {
    background: rgba(139, 92, 246, 0.1);
}