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

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

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(108, 92, 231, 0); }
    100% { box-shadow: 0 0 0 0 rgba(108, 92, 231, 0); }
}

.main-content {
    background: #0f0f1a;
    min-height: calc(100vh - 80px);
    padding: 40px 0;
}

.regulamin-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    position: relative;
}

.regulamin-container {
    flex: 1;
    background: #1a1a2e;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.regulamin-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.regulamin-header h1 {
    color: #6c5ce7;
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.regulamin-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-top: 20px;
}

.regulamin-meta i {
    margin-right: 5px;
    color: #6c5ce7;
}

.regulamin-section {
    margin-bottom: 50px;
    color: #e6e6e6;
    line-height: 1.8;
}

.regulamin-section h3 {
    color: #a29bfe;
    font-size: 1.6rem;
    margin: 40px 0 20px;
    position: relative;
    padding-left: 20px;
}

.regulamin-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 25px;
    background: #6c5ce7;
    border-radius: 3px;
}

.regulamin-section h4 {
    color: #fff;
    font-size: 1.3rem;
    margin: 30px 0 15px;
    padding-left: 10px;
    border-left: 3px solid #6c5ce7;
}

.regulamin-section p,
.regulamin-section li {
    margin-bottom: 15px;
    color: #e6e6e6;
}

.regulamin-section ul,
.regulamin-section ol {
    margin: 15px 0 15px 25px;
    padding: 0;
}

.regulamin-section li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.regulamin-section li::before {
    content: '•';
    color: #6c5ce7;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.regulamin-section ol {
    counter-reset: item;
    list-style-type: none;
}

.regulamin-section ol > li {
    counter-increment: item;
    position: relative;
    padding-left: 25px;
}

.regulamin-section ol > li::before {
    content: counter(item) '.';
    color: #6c5ce7;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.disclaimer {
    background: rgba(255, 107, 107, 0.1);
    border-left: 4px solid #ff6b6b;
    padding: 15px 20px;
    margin: 30px 0;
    border-radius: 0 5px 5px 0;
}

.disclaimer p {
    margin: 0;
    color: #ffb8b8;
    line-height: 1.6;
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6c5ce7;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 5px;
    background: rgba(108, 92, 231, 0.1);
    transition: all 0.3s ease;
    margin-top: 20px;
}

.back-to-home:hover {
    background: rgba(108, 92, 231, 0.2);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Spis treści */
.toc-sidebar {
    width: 300px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    background: #1a1a2e;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.toc-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.toc-header i {
    color: #6c5ce7;
    font-size: 1.2rem;
}

.toc-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #fff;
}

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

.toc-nav > ul > li {
    margin-bottom: 10px;
}

.toc-link {
    display: block;
    padding: 8px 12px;
    color: #c0c0c0;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.toc-link:hover,
.toc-link.active {
    background: rgba(108, 92, 231, 0.1);
    color: #fff;
    padding-left: 15px;
}

.toc-submenu {
    margin-top: 8px;
    padding-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.toc-submenu .toc-link {
    padding: 6px 10px;
    font-size: 0.9rem;
    color: #a0a0a0;
}

.toc-submenu .toc-link:hover,
.toc-submenu .toc-link.active {
    color: #fff;
}

.toc-back-to-top {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(108, 92, 231, 0.1);
    color: #6c5ce7;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-to-top-btn:hover {
    background: rgba(108, 92, 231, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .regulamin-wrapper {
        flex-direction: column;
    }
    
    .toc-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 30px;
        max-height: none;
    }
}

@media (max-width: 768px) {
    .regulamin-container {
        padding: 25px 20px;
    }
    
    .regulamin-header h1 {
        font-size: 1.8rem;
    }
    
    .regulamin-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .regulamin-section h3 {
        font-size: 1.4rem;
    }
    
    .regulamin-section h4 {
        font-size: 1.2rem;
    }
}

.regulamin-wrapper {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    gap: 30px;
}

.regulamin-container {
    flex: 1;
    max-width: 900px;
    margin: 0;
    padding: 40px;
    background: rgba(30, 30, 47, 0.8);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    color: #e0e0e0;
    line-height: 1.8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.regulamin-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.regulamin-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.regulamin-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease;
}

.regulamin-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
    font-size: 0.95rem;
    color: #a0a0a0;
}

.regulamin-meta i {
    margin-right: 8px;
    color: var(--primary);
}

.regulamin-meta span {
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.regulamin-meta span:hover {
    color: var(--primary);
}

.regulamin-section {
    margin-bottom: 50px;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.regulamin-section h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 10px;
}

.regulamin-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.regulamin-section h3 {
    color: #fff;
    margin: 30px 0 15px;
    font-size: 1.4rem;
    position: relative;
    padding-left: 15px;
}

.regulamin-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 20px;
    background: var(--primary);
    border-radius: 3px;
}

.regulamin-section h4 {
    color: var(--secondary);
    margin: 25px 0 10px;
    font-size: 1.2rem;
    padding-left: 10px;
    border-left: 3px solid var(--primary);
}

.regulamin-section p,
.regulamin-section li {
    margin-bottom: 15px;
    color: #e0e0e0;
}

.regulamin-section ul,
.regulamin-section ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.regulamin-section li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.regulamin-section li::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.regulamin-section ol {
    counter-reset: item;
    list-style-type: none;
}

.regulamin-section ol > li {
    counter-increment: item;
    position: relative;
    padding-left: 25px;
}

.regulamin-section ol > li::before {
    content: counter(item) '.';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.disclaimer {
    background: rgba(255, 107, 107, 0.1);
    border-left: 4px solid #ff6b6b;
    padding: 15px 20px;
    margin: 30px 0;
    border-radius: 0 5px 5px 0;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.disclaimer p {
    margin: 0;
    color: #ffb8b8;
}

/* Spis treści */
.toc-sidebar {
    width: 300px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    background: rgba(30, 30, 47, 0.8);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    animation: slideInRight 0.8s ease-out;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(108, 92, 231, 0.5) transparent;
}

.toc-sidebar::-webkit-scrollbar {
    width: 6px;
}

.toc-sidebar::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

.toc-sidebar::-webkit-scrollbar-thumb {
    background: rgba(108, 92, 231, 0.5);
    border-radius: 3px;
}

.toc-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.toc-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.toc-header i {
    font-size: 1.2rem;
    color: var(--primary);
    margin-right: 10px;
}

.toc-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #fff;
}

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

.toc-nav > ul > li {
    margin-bottom: 10px;
}

.toc-link {
    display: block;
    padding: 8px 12px;
    color: #c0c0c0;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.toc-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.toc-link:hover,
.toc-link.active {
    background: rgba(108, 92, 231, 0.1);
    color: #fff;
    padding-left: 15px;
}

.toc-link:hover::before,
.toc-link.active::before {
    transform: scaleY(1);
}

.toc-link.active {
    font-weight: 600;
    color: var(--primary);
}

.toc-submenu {
    margin-top: 8px;
    margin-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 15px;
}

.toc-submenu .toc-link {
    font-size: 0.9rem;
    padding: 6px 10px;
    color: #a0a0a0;
}

.toc-submenu .toc-link:hover,
.toc-submenu .toc-link.active {
    color: #fff;
}

.toc-back-to-top {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary);
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-to-top-btn i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.back-to-top-btn:hover {
    background: rgba(108, 92, 231, 0.2);
    transform: translateY(-2px);
}

.back-to-top-btn:hover i {
    transform: translateY(-2px);
}

/* Responsywność */
@media (max-width: 1200px) {
    .regulamin-wrapper {
        flex-direction: column;
    }
    
    .toc-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 30px;
        max-height: none;
    }
    
    .regulamin-container {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .regulamin-container {
        padding: 25px 20px;
    }
    
    .regulamin-header h1 {
        font-size: 2rem;
    }
    
    .regulamin-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .regulamin-section h2 {
        font-size: 1.5rem;
    }
    
    .regulamin-section h3 {
        font-size: 1.25rem;
    }
    
    .regulamin-section h4 {
        font-size: 1.1rem;
    }
}

:root {
    --primary: #6c5ce7;
    --primary-dark: #5649c0;
    --secondary: #a29bfe;
    --dark: #1e1e2f;
    --darker: #161623;
    --light: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --success: #00b894;
    --danger: #ff7675;
    --warning: #fdcb6e;
    --info: #0984e3;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--darker);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(108, 92, 231, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(162, 155, 254, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(30, 30, 47, 0.9) 0%, rgba(22, 22, 35, 1) 100%);
    background-attachment: fixed;
    color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background: var(--primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--dark-gray);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(22, 22, 35, 0.8);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(22, 22, 35, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links .regulamin-link {
    color: #ff6b6b;
    font-weight: 600;
    position: relative;
    padding: 5px 15px;
    border-radius: 20px;
    background: rgba(255, 107, 107, 0.1);
    transition: all 0.3s ease;
    margin-left: 10px;
}

.nav-links .regulamin-link:hover {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    transform: translateY(-2px) scale(1.05);
    text-decoration: none;
}

.nav-links .regulamin-link::before {
    content: '\f05a';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
    font-size: 0.9em;
}

.nav-links .regulamin-link::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--light);
    transition: var(--transition);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(108, 92, 231, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 30px;
    max-width: 90%;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

.hero-image img {
    max-width: 100%;
    animation: float 6s ease-in-out infinite;
}

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

.about {
    padding: 100px 0;
    background: var(--dark);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.about-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-card:hover {
    transform: translateY(-10px);
    background: rgba(108, 92, 231, 0.1);
    border-color: var(--primary);
}

.about-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.about-card p {
    color: var(--gray);
}

.pricing {
    padding: 100px 0;
    background: var(--darker);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: var(--dark);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
    border: 1px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary);
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header {
    padding: 30px;
    text-align: center;
    background: rgba(108, 92, 231, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price span {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
}

.features {
    padding: 30px;
}

.features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.features li i {
    color: var(--primary);
}

.features li.na {
    color: var(--gray);
    text-decoration: line-through;
}

.features li.na i {
    color: var(--gray);
}

.pricing-button {
    display: block;
    text-align: center;
    padding: 15px;
    margin: 0 30px 30px;
    background: var(--primary);
    color: white;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.pricing-button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto;
    padding: 12px 25px;
    background: var(--primary);
    color: white !important;
    text-decoration: none;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    max-width: 300px;
    text-align: center;
}

.back-to-home i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.back-to-home:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
    text-decoration: none;
}

.back-to-home:hover i {
    transform: translateX(-3px);
}

@media (max-width: 768px) {
    .back-to-home {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

.contact {
    padding: 100px 0;
    background: var(--dark);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--gray);
    margin-bottom: 30px;
    max-width: 90%;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-form {
    background: var(--darker);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--light);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    padding-right: 40px;
}

.form-group select option {
    background: var(--darker);
    color: var(--light);
    padding: 10px;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--light);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
}

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

.submit-button {
    width: 100%;
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    position: relative;
}

.button-loader {
    display: none;
    position: absolute;
}

.form-message {
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    display: none;
}

.form-message:not(:empty) {
    display: block;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.form-success-message {
    display: none;
    align-items: center;
    background: rgba(0, 184, 148, 0.15);
    color: #00b894;
    padding: 12px 20px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid rgba(0, 184, 148, 0.3);
    animation: fadeIn 0.3s ease;
}

.form-success-message i {
    margin-right: 10px;
    font-size: 1.2rem;
}

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

.fa-spinner {
    margin-right: 8px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.footer {
    background: var(--darker);
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo p {
    color: var(--gray);
    margin-top: 20px;
    max-width: 80%;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--primary);
    bottom: 0;
    left: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--gray);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-links .regulamin-link {
    color: #ff6b6b !important;
    font-weight: 600;
}

.footer-links .regulamin-link i {
    font-size: 0.9em;
}

.footer-links .regulamin-link:hover {
    color: #ff6b6b !important;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    color: var(--gray);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--gray);
    font-size: 0.9rem;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.team-section {
    padding: 100px 0;
    background-color: var(--dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background: var(--darker);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.member-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.member-info h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin: 0 0 5px 0;
}

.member-role {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.member-desc {
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding: 0;
    justify-content: flex-start;
    width: 100%;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    color: var(--light-gray);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .member-image {
        height: 300px;
    }
}

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

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
        max-width: 80%;
        margin: 0 auto;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-logo {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--darker);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: scale(1) translateY(-10px);
    }

    .popular {
        right: -25px;
        padding: 5px 25px;
        font-size: 0.7rem;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.testimonials-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
    padding: 20px 0;
}

.testimonial-card {
    min-width: 350px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.2);
    border-color: rgba(108, 92, 231, 0.3);
}

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #6c5ce7;
}

.testimonial-info h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.testimonial-info p {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin: 0;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    color: #e6e6e6;
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
}

.testimonial-rating i {
    color: #ffd700;
    font-size: 1.1rem;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.nav-btn {
    background: rgba(108, 92, 231, 0.2);
    border: 2px solid #6c5ce7;
    color: #6c5ce7;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.nav-btn:hover {
    background: #6c5ce7;
    color: #ffffff;
    transform: scale(1.1);
}

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

.nav-btn:disabled:hover {
    background: rgba(108, 92, 231, 0.2);
    color: #6c5ce7;
    transform: none;
}

@media (max-width: 768px) {
    .testimonial-card {
        min-width: 280px;
        padding: 20px;
    }
    
    .testimonials-wrapper {
        gap: 20px;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(108, 92, 231, 0.3);
    box-shadow: 0 8px 32px rgba(108, 92, 231, 0.1);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(108, 92, 231, 0.1);
}

.faq-question h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: #6c5ce7;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    color: #e6e6e6;
    line-height: 1.6;
    margin: 0;
    padding: 0 30px 25px;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 20px 20px;
    }
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

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

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(108, 92, 231, 0.1), transparent);
    transition: left 0.5s ease;
}

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

.stat-item:hover {
    transform: translateY(-10px);
    border-color: rgba(108, 92, 231, 0.3);
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.2);
}

.stat-icon {
    margin-bottom: 20px;
}

.stat-icon i {
    font-size: 3rem;
    color: #6c5ce7;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon i {
    transform: scale(1.1);
    color: #a29bfe;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(108, 92, 231, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    color: #a0a0a0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        padding: 30px 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-icon i {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.package-note {
    text-align: center;
    color: #6c5ce7;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 15px 0 0 0;
    font-style: italic;
}
