/* ============================================
   RADYKALNY REDESIGN - NOWOCZESNY UI/UX
   Zachowuje kolory marki: #8D06EC
   ============================================ */

:root {
    /* Paleta kolorów - ZACHOWANA */
    --accent-color: #8D06EC;
    --accent-light: #A83AFF;
    --accent-dark: #6D05B8;
    --accent-glow: rgba(141, 6, 236, 0.4);
    --background-dark: #0A0A0F;
    --background-darker: #050508;
    --background-card: #1A1A24;
    --card-bg: #1E1E2E;
    --text-primary: #F5F5F7;
    --text-secondary: #B8B8C8;
    --border-color: rgba(141, 6, 236, 0.2);
    --border-light: rgba(141, 6, 236, 0.3);
    --shadow-light: rgba(141, 6, 236, 0.25);
    --shadow-dark: rgba(0, 0, 0, 0.8);
    --shadow-purple: rgba(141, 6, 236, 0.3);
    --gain-color: #A83AFF;
    
    /* Czcionki */
    --font-header: Arial, sans-serif;
    --font-body: Arial, sans-serif;
}

/* ============================================
   RESET I PODSTAWY
   ============================================ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* ============================================
   LANGUAGE & THEME SWITCHER IN NAV
   ============================================ */

.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-switcher {
    display: flex;
    align-items: center;
    margin-right: 0;
}

.lang-toggle-btn {
    position: relative;
    width: 44px;
    height: 44px;
    background: rgba(141, 6, 236, 0.15);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.lang-toggle-btn:hover {
    background: rgba(141, 6, 236, 0.25);
    border-color: var(--accent-light);
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--accent-glow);
}

.lang-toggle-btn:active {
    transform: scale(1.05);
}

.lang-toggle-btn .lang-flag {
    position: absolute;
    width: 28px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-toggle-btn .lang-flag-pl {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.lang-toggle-btn .lang-flag-en {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

body[data-lang="en"] .lang-toggle-btn .lang-flag-pl {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

body[data-lang="en"] .lang-toggle-btn .lang-flag-en {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-switcher {
    display: flex;
    align-items: center;
    margin-right: 0;
}

.theme-label {
    display: none; /* Hide label in nav */
}

.theme-toggle-btn {
    position: relative;
    width: 44px;
    height: 44px;
    background: rgba(141, 6, 236, 0.15);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.theme-toggle-btn:hover {
    background: rgba(141, 6, 236, 0.25);
    border-color: var(--accent-light);
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--accent-glow);
}

.theme-toggle-btn:active {
    transform: scale(1.05);
}

.theme-toggle-btn .theme-icon {
    position: absolute;
    width: 20px;
    height: 20px;
    color: var(--accent-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle-btn .theme-icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle-btn .theme-icon-sun {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

body.light-theme .theme-toggle-btn .theme-icon-moon {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

body.light-theme .theme-toggle-btn .theme-icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    color: #FFD700;
}

body.light-theme .theme-toggle-btn {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.3);
}

body.light-theme .theme-toggle-btn:hover {
    background: rgba(255, 215, 0, 0.25);
    border-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

/* Light Theme Variables */
body.light-theme {
    --background-dark: #F5F5F7;
    --background-darker: #FFFFFF;
    --background-card: #FFFFFF;
    --card-bg: #FFFFFF;
    --text-primary: #1A1A24;
    --text-secondary: #4A4A5C;
    --border-color: rgba(141, 6, 236, 0.3);
    --border-light: rgba(141, 6, 236, 0.4);
    --shadow-light: rgba(141, 6, 236, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.1);
    --shadow-purple: rgba(141, 6, 236, 0.2);
}

body.light-theme::before {
    background: 
        radial-gradient(circle at 20% 30%, rgba(141, 6, 236, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(141, 6, 236, 0.05) 0%, transparent 50%),
        url('background.png'),
        var(--background-dark);
    background-size: 
        cover,
        cover,
        cover,
        cover;
    background-position: 
        center,
        center,
        center,
        center;
    background-repeat: no-repeat;
}


body.light-theme .lang-toggle-btn {
    background: rgba(141, 6, 236, 0.1);
    border-color: var(--border-color);
}

body.light-theme .lang-toggle-btn:hover {
    background: rgba(141, 6, 236, 0.2);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(141, 6, 236, 0.3);
}

body.light-theme .theme-label {
    color: var(--text-secondary);
}


/* Light theme adjustments for all elements */
body.light-theme nav {
    background: rgba(245, 245, 247, 0.7);
    border-bottom-color: rgba(141, 6, 236, 0.2);
}

body.light-theme .section {
    background: var(--background-dark);
}

body.light-theme .custom-os-toggle-btn {
    background: rgba(141, 6, 236, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

body.light-theme .custom-os-toggle-btn:hover {
    background: rgba(141, 6, 236, 0.2);
    border-color: var(--accent-light);
}

body.light-theme .package-card,
body.light-theme .custom-os-box,
body.light-theme .stat-item,
body.light-theme .calculator-container,
body.light-theme .results-box {
    background: var(--card-bg);
    border-color: var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.light-theme .hero h1,
body.light-theme h3,
body.light-theme h4 {
    color: var(--text-primary);
}

body.light-theme .text-secondary,
body.light-theme .subtitle,
body.light-theme .section-description {
    color: var(--text-secondary);
}

body.light-theme .exit-intent-popup {
    background: rgba(0, 0, 0, 0.7);
}

body.light-theme .exit-popup-content {
    background: var(--card-bg);
    border-color: var(--border-color);
}

body.light-theme .chat-widget {
    background: var(--card-bg);
    border-color: var(--border-color);
}

body.light-theme .chat-input {
    background: var(--background-dark);
    border-color: var(--border-color);
    color: var(--text-primary);
}


body.light-theme footer {
    background: var(--background-darker);
    border-top-color: var(--border-color);
}

body.light-theme .social-icon {
    background: rgba(141, 6, 236, 0.08);
    border-color: var(--border-color);
}

body.light-theme .social-icon:hover {
    color: var(--background-dark);
}

body.light-theme .legal-link {
    color: var(--text-secondary);
}

body.light-theme .legal-link:hover {
    color: var(--accent-color);
}

body.light-theme .copyright {
    color: var(--text-secondary);
}

/* Nav positioning */
body {
    padding-top: 0;
}

@media (max-width: 768px) {
    .nav-controls {
        gap: 10px;
    }
    
    .lang-toggle-btn {
        width: 40px;
        height: 40px;
    }
    
    .lang-toggle-btn .lang-flag {
        width: 24px;
        height: 18px;
    }
    
    .theme-toggle-btn {
        width: 40px;
        height: 40px;
    }
    
    .theme-toggle-btn .theme-icon {
        width: 18px;
        height: 18px;
    }
    
    .discord-icon-btn {
        width: 40px;
        height: 40px;
    }
    
    .discord-icon-btn svg {
        width: 20px;
        height: 20px;
    }
}

input, textarea, select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

body {
    font-family: var(--font-body);
    background: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.7;
    scroll-behavior: smooth;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    position: relative;
    transition: background-color 0.4s ease, color 0.4s ease;
}

* {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(141, 6, 236, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(141, 6, 236, 0.08) 0%, transparent 50%),
        url('background.png'),
        var(--background-dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    will-change: opacity;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(141, 6, 236, 0.05) 0%, transparent 70%);
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
    will-change: opacity;
}

@keyframes backgroundFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.4;
    }
    25% {
        transform: translate(20px, -20px) rotate(2deg);
        opacity: 0.5;
    }
    50% {
        transform: translate(-15px, 15px) rotate(-1deg);
        opacity: 0.35;
    }
    75% {
        transform: translate(10px, 10px) rotate(1deg);
        opacity: 0.45;
    }
}

@keyframes backgroundShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* ============================================
   NOWOCZESNA NAWIGACJA - GLASSMORPHISM
   ============================================ */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    transition: background 0.3s ease;
    transform: translateY(0);
    opacity: 1;
    will-change: background;
}

nav.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

nav.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* Ukryj wybrane linki z nawigacji */
.nav-item-hidden {
    display: none !important;
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.logo-img {
    height: 50px;
    filter: drop-shadow(0 0 10px var(--accent-glow));
    transition: filter 0.3s ease;
}

.logo-link:hover .logo-img {
    filter: drop-shadow(0 0 20px var(--accent-glow));
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent-light);
    text-shadow: 0 0 20px var(--accent-glow);
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(141, 6, 236, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-item:hover::before {
    left: 100%;
}

.nav-item:hover {
    background: rgba(141, 6, 236, 0.15);
    color: var(--accent-light);
    transform: translateY(-2px);
}

.nav-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-icon {
    transform: rotate(15deg) scale(1.1);
}

.discord-icon-btn {
    position: relative;
    width: 44px;
    height: 44px;
    background: rgba(88, 101, 242, 0.15);
    border: 2px solid rgba(88, 101, 242, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

.discord-icon-btn svg {
    width: 24px;
    height: 24px;
    color: #5865F2;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.discord-icon-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(88, 101, 242, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.discord-icon-btn:hover::before {
    width: 100px;
    height: 100px;
    opacity: 1;
}

.discord-icon-btn:hover {
    background: rgba(88, 101, 242, 0.25);
    border-color: #5865F2;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.discord-icon-btn:hover svg {
    color: #7289DA;
    transform: scale(1.15);
}

.discord-icon-btn:active {
    transform: translateY(0) scale(1.05);
}

.discord-icon-btn::after {
    content: attr(title);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 15, 0.95);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    z-index: 10;
}

.discord-icon-btn:hover::after {
    opacity: 1;
    bottom: -30px;
}

body.light-theme .discord-icon-btn::after {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
}

/* ============================================
   HERO SECTION - ASYMETRYCZNY LAYOUT
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 6% 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    filter: blur(80px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(141, 6, 236, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
    filter: blur(60px);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
}

.pre-title {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(141, 6, 236, 0.15);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--accent-light);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    animation: slideInDown 0.8s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-primary);
    text-shadow: 
        0 0 20px var(--accent-glow),
        0 0 40px rgba(141, 6, 236, 0.4),
        0 0 60px rgba(141, 6, 236, 0.2),
        2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: textGlow 3s ease-in-out infinite alternate;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@keyframes textGlow {
    0% {
        text-shadow: 
            0 0 20px var(--accent-glow),
            0 0 40px rgba(141, 6, 236, 0.4),
            0 0 60px rgba(141, 6, 236, 0.2),
            2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    100% {
        text-shadow: 
            0 0 30px var(--accent-glow),
            0 0 60px rgba(141, 6, 236, 0.6),
            0 0 90px rgba(141, 6, 236, 0.3),
            2px 2px 4px rgba(0, 0, 0, 0.5);
    }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 20px 50px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 50%, var(--accent-color) 100%);
    background-size: 200% 200%;
    color: var(--background-dark);
    font-weight: 900;
    font-size: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    box-shadow: 
        0 10px 40px var(--accent-glow), 
        0 0 80px rgba(141, 6, 236, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.2),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    animation: gradientShift 4s ease infinite;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.7s ease;
    z-index: 1;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.4s ease;
    opacity: 0;
    z-index: 0;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover::after {
    width: 400px;
    height: 400px;
    opacity: 1;
}

.cta-button:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 
        0 18px 60px var(--accent-glow), 
        0 0 120px rgba(141, 6, 236, 0.6),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    background-position: 100% 0;
    animation: gradientShift 1.2s ease infinite, pulseCTA 2s ease infinite;
    border-color: rgba(255, 255, 255, 0.25);
}

.cta-button:active {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 
        0 12px 45px var(--accent-glow),
        0 0 90px rgba(141, 6, 236, 0.4);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(141, 6, 236, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-stat-item:hover {
    background: rgba(141, 6, 236, 0.15);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.hero-stat-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.hero-status-dot {
    width: 8px;
    height: 8px;
    background: #43b581;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    animation: pulseGreen 2s ease infinite;
    box-shadow: 0 0 8px rgba(67, 181, 129, 0.6);
}

@keyframes pulseGreen {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.hero-stat-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 15px;
        margin-top: 25px;
    }
    
    .hero-stat-item {
        padding: 6px 12px;
    }
    
    .hero-stat-text {
        font-size: 0.75rem;
    }
    
    .hero-stat-icon {
        width: 14px;
        height: 14px;
    }
    
    .hero-status-dot {
        width: 6px;
        height: 6px;
    }
}

@keyframes pulseCTA {
    0%, 100% {
        box-shadow: 0 10px 40px var(--accent-glow), 0 0 80px rgba(141, 6, 236, 0.3);
    }
    50% {
        box-shadow: 0 15px 50px var(--accent-glow), 0 0 100px rgba(141, 6, 236, 0.5);
    }
}

/* ============================================
   SEKCJE - NOWY LAYOUT
   ============================================ */

.section {
    padding: 150px 6%;
    position: relative;
    scroll-margin-top: 100px;
}

/* Subtelne grafiki w tle sekcji - optymalizacja */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* Strzałka do góry w sekcji */
        url('assets/section-arrow-up-1.svg'),
        /* Mały wykres wzrostu */
        url('assets/section-mini-chart.svg'),
        /* Mały komputer w sekcji */
        url('assets/section-computer.svg'),
        /* Ikona wydajności */
        url('assets/section-performance-icon.svg'),
        /* Wykres słupkowy */
        url('assets/section-bar-chart.svg'),
        /* Strzałka do góry 2 */
        url('assets/section-arrow-up-2.svg');
    background-size: 
        110px 140px,
        140px 95px,
        150px 110px,
        80px 100px,
        130px 90px,
        95px 125px;
    background-position: 
        96% 8%,
        3% 15%,
        4% 92%,
        97% 20%,
        1% 88%,
        2% 5%;
    background-repeat: no-repeat;
    opacity: 0.7;
    z-index: 0;
    pointer-events: none;
    animation: sectionBackgroundFloat 30s ease-in-out infinite;
}

@keyframes sectionBackgroundFloat {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.6;
    }
    50% {
        transform: translate(15px, -15px);
    opacity: 0.8;
    }
}

.section > * {
    position: relative;
    z-index: 1;
}

.section h3 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 80px;
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section h3::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    border-radius: 2px;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
    line-height: 1.9;
}

/* ============================================
   PAKIETY - MASONRY/ASYMETRYCZNY GRID
   ============================================ */

.packages-grid {
    background: linear-gradient(180deg, var(--background-dark) 0%, rgba(141, 6, 236, 0.05) 100%);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 0;
}

.package-card {
    background: rgba(30, 30, 46, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 45px 35px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 600px;
    will-change: transform;
    opacity: 0;
    transform: translateY(20px);
}

.package-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light), var(--accent-color));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.package-card:hover::before {
    opacity: 1;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.package-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(141, 6, 236, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.package-card:hover::after {
    opacity: 1;
}

.package-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--accent-light);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 80px var(--accent-glow);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.card-header h4 {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.card-header .icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 15px var(--accent-glow));
    transition: transform 0.3s ease;
}

.package-card:hover .icon {
    transform: rotate(15deg) scale(1.2);
}

.fps-gain {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gain-color);
    text-align: center;
    margin: 25px 0;
    text-shadow: 0 0 30px var(--accent-glow);
    position: relative;
    z-index: 2;
}

.features-list {
    flex: 1;
    margin: 25px 0;
    position: relative;
    z-index: 2;
}

.features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list ul li {
    padding: 12px 0;
    padding-left: 30px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    position: relative;
    transition: all 0.3s ease;
}

.features-list ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.package-card:hover .features-list ul li::before {
    transform: translateX(5px);
    color: var(--accent-light);
}

.package-card:hover .features-list ul li {
    color: var(--text-primary);
    padding-left: 35px;
}

.package-button {
    display: block;
    padding: 16px 32px;
    background: rgba(141, 6, 236, 0.15);
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    color: var(--accent-light);
    text-decoration: none;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: auto;
    position: relative;
    z-index: 2;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(141, 6, 236, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.package-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 50%, var(--accent-color) 100%);
    background-size: 200% 200%;
    transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    animation: gradientShift 3s ease infinite;
}

.package-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease, opacity 0.3s ease;
    opacity: 0;
    z-index: 0;
}

.package-button:hover::before {
    left: 0;
    background-position: 100% 0;
    animation: gradientShift 1s ease infinite;
}

.package-button:hover::after {
    width: 350px;
    height: 350px;
    opacity: 1;
}

.package-button:hover {
    color: var(--background-dark);
    border-color: var(--accent-light);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 10px 35px var(--accent-glow),
        0 0 50px rgba(141, 6, 236, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: pulseButton 1.2s ease infinite;
}

.package-button:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 6px 25px var(--accent-glow),
        0 0 40px rgba(141, 6, 236, 0.3);
}

@keyframes pulseButton {
    0%, 100% {
        box-shadow: 0 8px 25px var(--accent-glow);
    }
    50% {
        box-shadow: 0 10px 30px var(--accent-glow), 0 0 40px rgba(141, 6, 236, 0.3);
    }
}

.package-card.featured {
    border: 3px solid var(--accent-color);
    background: rgba(30, 30, 46, 0.8);
    box-shadow: 0 0 40px var(--accent-glow);
}

.package-card.elite {
    border: 3px solid #FFD700;
    background: rgba(42, 31, 10, 0.7);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.4);
}

.package-card.elite .package-button {
    background: linear-gradient(135deg, #FFD700 0%, #FFED4E 50%, #FFD700 100%);
    background-size: 200% 200%;
    color: var(--background-dark);
    border-color: #FFD700;
    box-shadow: 
        0 4px 15px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: gradientShift 3s ease infinite;
}

.package-card.elite .package-button::before {
    background: linear-gradient(135deg, #FFED4E 0%, #FFD700 50%, #FFED4E 100%);
    background-size: 200% 200%;
}

.package-card.elite .package-button:hover {
    box-shadow: 
        0 10px 35px rgba(255, 215, 0, 0.5),
        0 0 50px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    background-position: 100% 0;
    animation: gradientShift 1s ease infinite, pulseButton 1.2s ease infinite;
}

.rekomendowany {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--background-dark);
    font-size: 0.7rem;
    font-weight: 900;
    border-radius: 6px;
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   STATYSTYKI - NOWY LAYOUT
   ============================================ */

.legit-check-section {
    background: linear-gradient(180deg, rgba(141, 6, 236, 0.05) 0%, var(--background-dark) 100%);
}

/* ============================================
   TEAM SECTION
   ============================================ */

.team-section {
    background: linear-gradient(180deg, var(--background-dark) 0%, rgba(141, 6, 236, 0.05) 100%);
    position: relative;
    z-index: 1;
}

.team-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.team-member-card {
    background: rgba(30, 30, 46, 0.6);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out;
}

.team-member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(141, 6, 236, 0.1), transparent);
    transition: left 0.6s ease;
}

.team-member-card:hover::before {
    left: 100%;
}

.team-member-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-light);
    box-shadow: 
        0 15px 40px var(--accent-glow),
        0 0 60px rgba(141, 6, 236, 0.3);
}

.team-member-avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.team-member-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    box-shadow: 
        0 0 30px var(--accent-glow),
        inset 0 0 20px rgba(141, 6, 236, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-member-card:hover .team-member-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 0 40px var(--accent-glow),
        0 0 60px rgba(141, 6, 236, 0.5),
        inset 0 0 30px rgba(141, 6, 236, 0.3);
    border-color: var(--accent-light);
}

.team-member-role-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--background-dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px var(--accent-glow);
    border: 2px solid var(--background-dark);
}

.team-member-info {
    text-align: center;
}

.team-member-name {
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 900;
}

.team-member-link {
    color: var(--accent-light);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
}

.team-member-card {
    cursor: pointer;
}

.team-member-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Light theme adjustments */
body.light-theme .team-member-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--border-color);
}

body.light-theme .team-member-card:hover {
    box-shadow: 
        0 15px 40px rgba(141, 6, 236, 0.2),
        0 0 60px rgba(141, 6, 236, 0.15);
}

body.light-theme .team-member-description {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .team-member-card {
        padding: 25px;
    }
    
    .team-member-avatar-container {
        width: 100px;
        height: 100px;
    }
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.stat-item {
    background: rgba(30, 30, 46, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 50px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
    opacity: 0;
    transform: translateY(20px);
}

.stat-item.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(141, 6, 236, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--accent-light);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 80px var(--accent-glow);
}

.stat-number {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* ============================================
   KALKULATOR - NOWY DESIGN
   ============================================ */

.calculator-section {
    background: linear-gradient(180deg, var(--background-dark) 0%, rgba(141, 6, 236, 0.08) 100%);
}

.calculator-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(30, 30, 46, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid var(--border-color);
    border-radius: 32px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    will-change: transform;
}
}

.calculator-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light), var(--accent-color));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-instruction {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.input-group {
    position: relative;
}

.input-group label {
    display: block;
    color: var(--accent-light);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.tech-input {
    width: 100%;
    padding: 18px 24px;
    background: rgba(10, 10, 15, 0.6);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.tech-input:hover {
    border-color: var(--accent-color);
    background: rgba(10, 10, 15, 0.8);
}

.tech-input:focus {
    outline: none;
    border-color: var(--accent-light);
    box-shadow: 0 0 30px var(--accent-glow);
    background: rgba(10, 10, 15, 0.9);
}

.calculate-btn {
    padding: 20px 50px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 50%, var(--accent-color) 100%);
    background-size: 200% 200%;
    color: var(--background-dark);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 40px var(--accent-glow),
        0 0 80px rgba(141, 6, 236, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    margin: 20px auto 0;
    display: block;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    animation: gradientShift 4s ease infinite;
}

.calculate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.7s ease;
    z-index: 1;
}

.calculate-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.4s ease;
    opacity: 0;
    z-index: 0;
}

.calculate-btn:hover::before {
    left: 100%;
}

.calculate-btn:hover::after {
    width: 400px;
    height: 400px;
    opacity: 1;
}

.calculate-btn:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 
        0 18px 60px var(--accent-glow),
        0 0 120px rgba(141, 6, 236, 0.6),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    background-position: 100% 0;
    animation: gradientShift 1.2s ease infinite, pulseCTA 2s ease infinite;
    border-color: rgba(255, 255, 255, 0.25);
}

.calculate-btn:active {
    transform: translateY(-3px) scale(1.04);
}

.calculate-btn:active::after {
    width: 400px;
    height: 400px;
    opacity: 1;
}

.calculate-btn.loading {
    color: transparent;
    pointer-events: none;
}

.calculate-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 3px solid var(--background-dark);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.results-box {
    margin-top: 50px;
    padding: 50px;
    background: rgba(10, 10, 15, 0.8);
    border: 2px solid var(--accent-color);
    border-radius: 24px;
    animation: scaleIn 0.6s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.results-box.hidden {
    display: none;
}

.result-label {
    text-align: center;
    color: var(--accent-light);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.result-package {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    padding: 30px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--background-dark);
    border-radius: 16px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.fps-comparison {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    margin: 40px 0;
}

.fps-item {
    text-align: center;
    flex: 1;
}

.fps-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fps-value {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent-light);
    text-shadow: 0 0 30px var(--accent-glow);
}

.optimized-fps {
    color: var(--gain-color);
}

.fps-arrow {
    font-size: 3rem;
    color: var(--accent-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.fps-gain-box {
    text-align: center;
    padding: 30px;
    background: rgba(141, 6, 236, 0.15);
    border: 2px solid var(--accent-color);
    border-radius: 16px;
    margin: 30px 0;
}

.fps-gain-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.estimated-fps {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gain-color);
    text-shadow: 0 0 30px var(--accent-glow);
}

.result-details {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.detail-item {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.detail-item span {
    color: var(--accent-light);
    font-weight: 700;
}

/* ============================================
   CUSTOM OS SECTION
   ============================================ */

.custom-os-section {
    background: linear-gradient(180deg, rgba(141, 6, 236, 0.08) 0%, var(--background-dark) 100%);
}

.custom-os-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 40px auto 30px;
    padding: 18px 40px;
    background: rgba(141, 6, 236, 0.15);
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    color: var(--accent-light);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    max-width: 400px;
    width: 100%;
}

.custom-os-toggle-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.custom-os-toggle-btn:hover::before {
    left: 100%;
}

.custom-os-toggle-btn:hover {
    background: rgba(141, 6, 236, 0.25);
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(141, 6, 236, 0.4);
}

.custom-os-toggle-btn:active {
    transform: translateY(0);
}

.toggle-arrow-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.custom-os-toggle-btn[aria-expanded="true"] .toggle-arrow-icon {
    transform: rotate(180deg);
}

.custom-os-boxes-wrapper {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease,
                margin 0.4s ease;
    margin-top: 0;
    margin-bottom: 0;
}

.custom-os-boxes-wrapper.expanded {
    max-height: 5000px;
    opacity: 1;
    margin-top: 20px;
    margin-bottom: 40px;
}

.custom-os-boxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1600px;
    margin: 0 auto 60px;
}

.custom-os-box {
    background: rgba(30, 30, 46, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 35px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    will-change: transform, opacity;
    opacity: 0;
    transform: translateY(20px);
}

.custom-os-box.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.custom-os-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(141, 6, 236, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.custom-os-box:hover::before {
    opacity: 1;
}

.custom-os-box:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: var(--accent-light);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 80px var(--accent-glow);
}

.custom-os-box-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 20px var(--accent-glow));
    transition: transform 0.3s ease;
}

.custom-os-box:hover .custom-os-box-icon {
    transform: scale(1.2) rotate(10deg);
}

.custom-os-box h4 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-light);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.custom-os-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.custom-os-box ul li {
    padding: 10px 0;
    padding-left: 30px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    position: relative;
    transition: all 0.3s ease;
}

.custom-os-box ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.custom-os-box:hover ul li::before {
    transform: translateX(5px);
    color: var(--accent-light);
}

.custom-os-box:hover ul li {
    color: var(--text-primary);
}

.custom-os-box p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

.custom-os-box.featured-box {
    border: 3px solid var(--accent-color);
    background: rgba(30, 30, 46, 0.8);
    box-shadow: 0 0 40px var(--accent-glow);
}

.showcase-video-container {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    margin-top: 30px;
    border: 3px solid var(--accent-color);
    border-radius: 16px;
    box-shadow: 0 0 30px var(--accent-glow);
}

.showcase-youtube-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.custom-os-cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.custom-os-time-box {
    padding: 20px 40px;
    background: rgba(141, 6, 236, 0.15);
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(10px);
}

.time-icon {
    font-size: 2rem;
}

.time-text {
    color: var(--accent-light);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   OPINIE SECTION
   ============================================ */

.opinions-section {
    background: linear-gradient(180deg, var(--background-dark) 0%, rgba(141, 6, 236, 0.05) 100%);
}

.legitcheck-messages-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.legitcheck-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.legitcheck-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.legitcheck-messages-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.legitcheck-message {
    background: rgba(30, 30, 46, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.5s ease-out;
}

.legitcheck-message:hover {
    transform: translateY(-5px);
    border-color: var(--accent-light);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 60px var(--accent-glow);
}

.legitcheck-message-header {
    display: flex;
    align-items: center;
        gap: 15px;
    margin-bottom: 20px;
}

.legitcheck-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
}

.legitcheck-username {
    font-weight: 700;
    color: var(--accent-light);
    font-size: 1.1rem;
}

.legitcheck-timestamp {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.legitcheck-message-content {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1rem;
    word-wrap: break-word;
}

.legitcheck-message-content a {
    color: var(--accent-light);
    text-decoration: underline;
    transition: color 0.2s;
}

.legitcheck-message-content a:hover {
    color: var(--accent-color);
}

.legitcheck-author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.legitcheck-attachments {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legitcheck-attachment-image {
    max-width: 100%;
    border-radius: 12px;
        margin-top: 10px;
    border: 2px solid var(--border-color);
    transition: transform 0.3s ease;
}

.legitcheck-attachment-image:hover {
    transform: scale(1.02);
}

.legitcheck-attachment-link {
    color: var(--accent-light);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 10px 15px;
    background: rgba(141, 6, 236, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s ease;
}

.legitcheck-attachment-link:hover {
    background: rgba(141, 6, 236, 0.2);
    border-color: var(--accent-color);
    transform: translateX(5px);
}

.legitcheck-embeds {
    margin-top: 15px;
    display: flex;
        flex-direction: column;
    gap: 10px;
}

.legitcheck-embed {
    background: rgba(10, 10, 15, 0.6);
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

.legitcheck-embed-title {
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 8px;
    font-size: 1rem;
}

.legitcheck-embed-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.legitcheck-embed-image {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 10px;
    border: 2px solid var(--border-color);
}

.legitcheck-empty-message {
    color: var(--text-secondary);
    font-style: italic;
}

.legitcheck-loading,
.legitcheck-empty,
.legitcheck-error {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.legitcheck-error {
    color: #ff6568;
}

.legitcheck-error-hint {
    font-size: 0.85rem;
    margin-top: 10px;
    color: var(--text-secondary);
}

/* Paginacja */
.legitcheck-pagination-container {
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

.legitcheck-pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.legitcheck-pages {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legitcheck-page-btn {
    background: rgba(30, 30, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 18px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 44px;
    text-align: center;
}

.legitcheck-page-btn:hover:not(:disabled) {
    border-color: var(--accent-color);
    background: rgba(141, 6, 236, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(141, 6, 236, 0.2);
}

.legitcheck-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.legitcheck-page-btn.active {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--background-dark);
    border-color: var(--accent-light);
    font-weight: 700;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.legitcheck-pagination-dots {
    color: var(--text-secondary);
    padding: 0 10px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .legitcheck-message {
        padding: 20px;
    }
    
    .legitcheck-avatar {
        width: 40px;
        height: 40px;
    }
    
    .legitcheck-title {
        font-size: 1.8rem;
    }
    
    .legitcheck-pagination {
        gap: 5px;
    }
    
    .legitcheck-page-btn {
        padding: 10px 14px;
        font-size: 0.85rem;
        min-width: 40px;
    }
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    padding: 60px 40px 40px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    background: rgba(141, 6, 236, 0.1);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    z-index: 1;
    position: relative;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-color) 0%, var(--accent-light) 100%);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    z-index: 0;
}

.social-icon:hover::before {
    width: 100px;
    height: 100px;
    opacity: 1;
}

.social-icon:hover {
    color: var(--background-dark);
    border-color: var(--accent-light);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.social-icon:hover svg {
    transform: scale(1.15);
}

.social-icon:active {
    transform: translateY(-2px) scale(1.05);
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.legal-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.legal-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.legal-link:hover {
    color: var(--accent-light);
}

.legal-link:hover::after {
    width: 100%;
}

.legal-separator {
    color: var(--text-secondary);
    opacity: 0.5;
    font-size: 0.9rem;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 20px;
}

.final-cta {
    display: inline-block;
    padding: 20px 50px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 50%, var(--accent-color) 100%);
    background-size: 200% 200%;
    color: var(--background-dark);
    font-weight: 900;
    font-size: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    box-shadow: 
        0 10px 40px var(--accent-glow),
        0 0 80px rgba(141, 6, 236, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    animation: gradientShift 4s ease infinite;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.7s ease;
    z-index: 1;
}

.final-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.4s ease;
    opacity: 0;
    z-index: 0;
}

.final-cta:hover::before {
    left: 100%;
}

.final-cta:hover::after {
    width: 400px;
    height: 400px;
    opacity: 1;
}

.final-cta:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 
        0 18px 60px var(--accent-glow),
        0 0 120px rgba(141, 6, 236, 0.6),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    background-position: 100% 0;
    animation: gradientShift 1.2s ease infinite, pulseCTA 2s ease infinite;
    border-color: rgba(255, 255, 255, 0.25);
}

.final-cta:active {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 
        0 12px 45px var(--accent-glow),
        0 0 90px rgba(141, 6, 236, 0.4);
}

/* Wzmocnienie wszystkich Discord CTA */
a[href*="discord.gg"] {
    position: relative;
}

a[href*="discord.gg"]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    pointer-events: none;
}

a[href*="discord.gg"]:active::after {
    width: 300px;
    height: 300px;
}

/* ============================================
   ANIMACJE
   ============================================ */

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

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in, .fade-in-up, .slide-in-bottom, .slide-in-left, .slide-in-right {
    opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }
.delay-8 { animation-delay: 0.8s; }

/* ============================================
   RESPONSYWNOŚĆ
   ============================================ */

@media (max-width: 1200px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .custom-os-boxes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 15px 20px;
        flex-wrap: wrap;
    }
    
    .nav-links {
        width: 100%;
        order: 3;
        margin-top: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .nav-controls {
        order: 2;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    
    .nav-item {
        font-size: 0.75rem;
        padding: 10px 15px;
    }
    
    .hero {
        padding: 100px 4% 60px;
    }
    
    .section {
        padding: 100px 4%;
    }
    
    .grid-container,
    .custom-os-boxes-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
    }
    
    .calculator-container {
        padding: 40px 30px;
    }
    
    .fps-comparison {
        flex-direction: column;
        gap: 20px;
    }
    
    .fps-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .package-card,
    .custom-os-box {
        padding: 30px 25px;
    }
    
    .calculator-container {
        padding: 30px 20px;
    }
    
    .cta-button,
    .final-cta {
        padding: 16px 35px;
        font-size: 0.95rem;
    }
}

/* ============================================
   STICKY DISCORD BUTTON
   ============================================ */

.sticky-discord-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 28px;
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 50%, #5865F2 100%);
    background-size: 200% 200%;
    color: white;
    font-weight: 900;
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    box-shadow: 
        0 8px 30px rgba(88, 101, 242, 0.5), 
        0 0 60px rgba(88, 101, 242, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: gradientShift 3s ease infinite, pulseDiscord 2s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.sticky-discord-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;
    z-index: 1;
}

.sticky-discord-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease, opacity 0.3s ease;
    opacity: 0;
    z-index: 0;
}

.sticky-discord-btn:hover::before {
    left: 100%;
}

.sticky-discord-btn:hover::after {
    width: 350px;
    height: 350px;
    opacity: 1;
}

.sticky-discord-btn:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 
        0 14px 50px rgba(88, 101, 242, 0.7), 
        0 0 100px rgba(88, 101, 242, 0.6),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #7289DA 0%, #5865F2 50%, #7289DA 100%);
    background-size: 200% 200%;
    background-position: 100% 0;
    animation: gradientShift 1s ease infinite, pulseDiscord 1.5s ease-in-out infinite;
    border-color: rgba(255, 255, 255, 0.25);
}

.sticky-discord-btn:active {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 
        0 10px 35px rgba(88, 101, 242, 0.6),
        0 0 70px rgba(88, 101, 242, 0.4);
}

.discord-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

@keyframes pulseDiscord {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(88, 101, 242, 0.5), 0 0 60px rgba(88, 101, 242, 0.3);
    }
    50% {
        box-shadow: 0 8px 40px rgba(88, 101, 242, 0.7), 0 0 80px rgba(88, 101, 242, 0.5);
    }
}

@media (max-width: 768px) {
    .sticky-discord-btn {
        bottom: 20px;
        right: 20px;
        padding: 14px 22px;
        font-size: 0.85rem;
    }
    
    .sticky-discord-btn span {
        display: none;
    }
    
    .discord-icon {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   EXIT INTENT POPUP
   ============================================ */

.exit-intent-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.exit-intent-popup.show {
    display: flex;
}

.exit-popup-content {
    background: rgba(30, 30, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid var(--accent-color);
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 500px;
    width: 90%;
        text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 80px var(--accent-glow);
    animation: scaleIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.exit-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.exit-popup-close:hover {
    color: var(--text-primary);
    background: rgba(141, 6, 236, 0.2);
    transform: rotate(90deg);
}

.exit-popup-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 1s ease infinite;
}

.exit-popup-content h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.exit-popup-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.exit-popup-content p strong {
    color: var(--accent-light);
    font-weight: 900;
}

.exit-popup-cta {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 50%, #5865F2 100%);
    background-size: 200% 200%;
    color: white;
    font-weight: 900;
    font-size: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    box-shadow: 
        0 8px 30px rgba(88, 101, 242, 0.5),
        0 0 50px rgba(88, 101, 242, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    animation: gradientShift 3s ease infinite;
}

.exit-popup-cta::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;
    z-index: 1;
}

.exit-popup-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease, opacity 0.3s ease;
    opacity: 0;
    z-index: 0;
}

.exit-popup-cta:hover::before {
    left: 100%;
}

.exit-popup-cta:hover::after {
    width: 350px;
    height: 350px;
    opacity: 1;
}

.exit-popup-cta:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 
        0 14px 50px rgba(88, 101, 242, 0.7),
        0 0 80px rgba(88, 101, 242, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #7289DA 0%, #5865F2 50%, #7289DA 100%);
    background-size: 200% 200%;
    background-position: 100% 0;
    animation: gradientShift 1s ease infinite;
    border-color: rgba(255, 255, 255, 0.25);
}

.exit-popup-cta:active {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 
        0 10px 35px rgba(88, 101, 242, 0.6),
        0 0 60px rgba(88, 101, 242, 0.4);
}

.exit-popup-hint {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.8;
    margin: 0;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
    .exit-popup-content {
        padding: 40px 30px;
    }
    
    .exit-popup-content h3 {
        font-size: 1.5rem;
    }
    
    .exit-popup-content p {
        font-size: 1rem;
    }
}

/* ============================================
   SOCIAL PROOF BANNER
   ============================================ */


/* ============================================
   CHAT WIDGET
   ============================================ */

.chat-widget-toggle {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 9998;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 50%, var(--accent-color) 100%);
    background-size: 200% 200%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: white;
    cursor: pointer;
    box-shadow: 
        0 8px 30px var(--accent-glow),
        0 0 50px rgba(141, 6, 236, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: gradientShift 3s ease infinite, pulseDiscord 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.chat-widget-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease, opacity 0.3s ease;
    opacity: 0;
}

.chat-widget-toggle:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 
        0 12px 45px var(--accent-glow),
        0 0 70px rgba(141, 6, 236, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    background-position: 100% 0;
    animation: gradientShift 1s ease infinite, pulseDiscord 1.5s ease-in-out infinite;
    border-color: rgba(255, 255, 255, 0.25);
}

.chat-widget-toggle:hover::before {
    width: 300px;
    height: 300px;
    opacity: 1;
}

.chat-widget-toggle:active {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 
        0 8px 30px var(--accent-glow),
        0 0 50px rgba(141, 6, 236, 0.4);
}

.chat-widget-toggle svg {
    width: 28px;
    height: 28px;
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
        font-size: 0.75rem;
    font-weight: 900;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--background-dark);
    animation: bounce 1s ease infinite;
}

.chat-widget {
    position: fixed;
    bottom: 180px;
    right: 30px;
    z-index: 9997;
    width: 350px;
    max-height: 500px;
    background: rgba(30, 30, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 80px var(--accent-glow);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-widget.show {
    display: flex;
}

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

.chat-widget-header {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.chat-widget-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.chat-widget-info {
    flex: 1;
}

.chat-widget-name {
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.chat-widget-status {
    font-size: 0.85rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-widget-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #43b581;
    border-radius: 50%;
    display: inline-block;
    animation: pulseGreen 2s ease infinite;
}

.chat-widget-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 30px;
    height: 30px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.chat-widget-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.chat-widget-messages {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    max-height: 300px;
}

.chat-message {
    margin-bottom: 15px;
}

.chat-message p {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.chat-message ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.chat-message ul li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
}

.chat-message ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-light);
    font-weight: 900;
}

.chat-widget-input-container {
    padding: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
    align-items: flex-end;
    background: rgba(20, 20, 30, 0.5);
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(30, 30, 46, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: Arial, sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.chat-input:focus {
    border-color: var(--accent-light);
    box-shadow: 0 0 15px rgba(141, 6, 236, 0.3);
}

.chat-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.chat-send-btn {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 50%, var(--accent-color) 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    box-shadow: 
        0 4px 15px rgba(141, 6, 236, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: gradientShift 3s ease infinite;
}

.chat-send-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.chat-send-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 8px 25px rgba(141, 6, 236, 0.6),
        0 0 40px rgba(141, 6, 236, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background-position: 100% 0;
    animation: gradientShift 1s ease infinite;
}

.chat-send-btn:hover::before {
    width: 200px;
    height: 200px;
    opacity: 1;
}

.chat-send-btn:active {
    transform: scale(0.95) rotate(-2deg);
    box-shadow: 
        0 2px 10px rgba(141, 6, 236, 0.5);
}

.chat-send-btn:active::before {
    width: 200px;
    height: 200px;
    opacity: 1;
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.chat-send-btn svg {
    width: 20px;
    height: 20px;
}

.chat-typing-indicator {
    padding: 10px 15px;
    display: flex;
    gap: 5px;
    align-items: center;
}

.chat-typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--accent-light);
    border-radius: 50%;
    animation: typingDot 1.4s ease-in-out infinite;
}

.chat-typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.message-content {
    line-height: 1.6;
}

.message-content p {
    margin-bottom: 8px;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.chat-message.user {
    text-align: right;
}

.chat-message.user .message-content {
    background: rgba(141, 6, 236, 0.2);
    border: 1px solid var(--accent-color);
    padding: 12px 16px;
    border-radius: 12px;
    display: inline-block;
    max-width: 80%;
    margin-left: auto;
}

.chat-message.bot .message-content {
    background: rgba(30, 30, 46, 0.6);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 12px;
    display: inline-block;
    max-width: 85%;
}

.chat-message.discord-cta {
    text-align: center;
    margin: 15px 0;
}

.chat-message.discord-cta .message-content {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.2), rgba(114, 137, 218, 0.2));
    border: 2px solid #5865F2;
    padding: 15px;
    border-radius: 12px;
    max-width: 100%;
}

.discord-cta-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 50%, #5865F2 100%);
    background-size: 200% 200%;
    color: white;
    font-weight: 900;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    box-shadow: 
        0 4px 15px rgba(88, 101, 242, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: gradientShift 3s ease infinite;
}

.discord-cta-button::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;
    z-index: 1;
}

.discord-cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    z-index: 0;
}

.discord-cta-button:hover::before {
    left: 100%;
}

.discord-cta-button:hover::after {
    width: 250px;
    height: 250px;
    opacity: 1;
}

.discord-cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(88, 101, 242, 0.6),
        0 0 40px rgba(88, 101, 242, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background-position: 100% 0;
    animation: gradientShift 1s ease infinite;
    border-color: rgba(255, 255, 255, 0.25);
}

.discord-cta-button:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 
        0 5px 18px rgba(88, 101, 242, 0.5);
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #43b581;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    animation: pulseGreen 2s ease infinite;
}

@media (max-width: 768px) {
    footer {
        padding: 40px 20px 30px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-social {
        gap: 20px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .social-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
    
    .legal-separator {
        display: none;
    }
    
    .legal-link {
        font-size: 0.9rem;
    }
    
    .copyright {
        font-size: 0.85rem;
        margin-top: 15px;
    }
    
    .custom-os-toggle-btn {
        padding: 16px 30px;
        font-size: 1rem;
        max-width: 100%;
        margin: 30px auto 20px;
    }
    
    .toggle-arrow-icon {
        width: 18px;
        height: 18px;
    }
    
    .custom-os-boxes-wrapper.expanded {
        margin-top: 15px;
        margin-bottom: 30px;
    }
    
    .chat-widget-toggle {
        bottom: 90px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .chat-widget {
        bottom: 160px;
        right: 20px;
        left: 20px;
        width: auto;
        max-height: 400px;
    }
}

/* ============================================
   COOKIES BANNER
   ============================================ */

.cookies-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-top: 2px solid var(--accent-color);
    padding: 25px 40px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.cookies-banner.show {
    transform: translateY(0);
}

.cookies-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookies-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookies-banner-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookies-link {
    color: var(--accent-light);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookies-link:hover {
    color: var(--accent-color);
}

.cookies-banner-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookies-btn {
    padding: 12px 30px;
    border: 2px solid;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cookies-btn-accept {
    background: rgba(141, 6, 236, 0.15);
    border-color: var(--accent-color);
    color: var(--accent-light);
}

.cookies-btn-accept:hover {
    background: rgba(141, 6, 236, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--accent-glow);
}

.cookies-btn-reject {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.cookies-btn-reject:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
    transform: translateY(-2px);
}

body.light-theme .cookies-banner {
    background: var(--background-darker);
    border-top-color: var(--border-color);
}

body.light-theme .cookies-banner-text p {
    color: var(--text-secondary);
}

body.light-theme .cookies-link {
    color: var(--accent-color);
}

body.light-theme .cookies-link:hover {
    color: var(--accent-light);
}

@media (max-width: 768px) {
    .cookies-banner {
        padding: 20px;
    }
    
    .cookies-banner-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .cookies-banner-text {
        min-width: 100%;
        text-align: center;
    }
    
    .cookies-banner-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookies-btn {
        flex: 1;
        max-width: 200px;
    }
}

/* ============================================
   ICON STYLES
   ============================================ */

.icon-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin: 0 2px;
    width: 1em;
    height: 1em;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.icon-inline svg {
    width: 100%;
    height: 100%;
    display: block;
}

.icon-inline:hover {
    color: var(--accent-light);
    transform: scale(1.1);
}

.package-icon,
.custom-os-box-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    margin-right: 8px;
    vertical-align: middle;
}

.package-icon svg,
.custom-os-box-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.package-card:hover .package-icon svg,
.custom-os-box:hover .custom-os-box-icon svg {
    color: var(--accent-light);
    transform: scale(1.1) rotate(5deg);
}

/* Utility classes */
.margin-top-large {
    margin-top: 60px;
}

.hidden {
    display: none !important;
}

.lux-border {
    border: 2px solid var(--border-color);
}

.lux-accent {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
}

.pulse {
    animation: pulse 2s infinite;
}

.pulse-alt {
    animation: pulse 1.5s infinite;
}
