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

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a0933 0%, #2d1b4e 50%, #1a0933 100%);
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* --- Efekty świetlne --- */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.orb1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.8), transparent);
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.orb2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.6), transparent);
    bottom: 20%;
    right: 15%;
    animation-delay: 2s;
}

.orb3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(126, 34, 206, 0.7), transparent);
    top: 60%;
    left: 50%;
    animation-delay: 4s;
}

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

/* --- Główna treść --- */
.content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 85vh; 
    text-align: center;
    padding: 20px;
    padding-top: 150px; 
    padding-bottom: 20px; 
}

/* --- Nowy Kwadrat Hero --- */
.hero-box {
    background: rgba(88, 28, 135, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    padding: 40px;
    max-width: 800px; 
    width: 90%;
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.2);
    animation: fadeInUp 1s ease-out 0.6s backwards;
    text-align: center;
    margin-bottom: 40px; 
}

.hero-title {
    color: #e9d5ff;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.8);
    margin-bottom: 25px;
    line-height: 1.2;
}

.typing-text {
    color: #c084fc; 
    font-weight: 800;
}

.typing-text::after {
    content: '|';
    display: inline;
    animation: blink 0.7s infinite;
    color: #c084fc;
    font-weight: 400;
}

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

.hero-description {
    color: #ddd6fe;
    line-height: 1.8;
    font-size: 1.15rem;
    margin-top: 20px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    color: #fff;
    font-weight: bold;
}

/* --- Sekcja Ofert --- */
.offers-section {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 20px 60px; 
}

.section-title {
    color: #e9d5ff;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
    margin-bottom: 30px; 
}

.offers-grid {
    display: flex;
    justify-content: center;
    gap: 20px; 
    max-width: 1200px;
    width: 100%;
}

.offer-card {
    display: block;
    position: relative;
    width: 300px; 
    height: 350px; 
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); 
    transition: none; 
}

.offer-card:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); 
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(3px) brightness(0.8); 
    transition: none; 
}

.offer-card:hover .card-background {
    filter: blur(3px) brightness(0.8); 
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #ffffff;
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.9);
}

.card-content p {
    font-size: 1.1rem;
    color: #c4b5fd;
}

.discord-bg {
    background-color: #2c2f33; 
    filter: none; 
    opacity: 1;
}

/* --- Sekcja Dlaczego wybrać nemhost.xyz? (Features) --- */
.features-section {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 20px 60px; 
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    max-width: 1200px;
    width: 90%;
}

.feature-card {
    background-color: #1a0933; 
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #e0b0ff;
    height: 100%; 
    
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 6px 20px rgba(163, 102, 255, 0.4); 
    border-color: rgba(168, 85, 247, 0.5);
}

.feature-icon {
    font-size: 1.8rem;
    color: #a366ff;
    background-color: rgba(163, 102, 255, 0.15); 
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.feature-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #c4b5fd;
}


/* --- Sekcja Opinii Klientów --- */
.testimonials-section {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 20px 60px; 
}

.testimonials-grid {
    display: flex;
    justify-content: center;
    gap: 30px; 
    max-width: 1200px;
    width: 100%;
}

.testimonial-card {
    background-color: #1a0933; 
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 15px;
    padding: 30px;
    width: 380px; 
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    color: #e0b0ff;
    text-align: left;
    transition: none; 
}

.testimonial-card:hover {
    transform: none; 
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); 
}

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

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid #a366ff;
}

.user-info h4 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.stars {
    color: #f7d300; 
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #c4b5fd;
}

.verified {
    font-size: 0.9rem;
    color: #93c5fd; 
}

.verified .fa-check-circle {
    color: #34d399; 
    margin-right: 5px;
}

/* --- Sekcja FAQ (Zadawane Pytania) --- */
.faq-section {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 20px 100px;
}

.faq-container {
    max-width: 850px;
    width: 90%;
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #1a0933; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #15062a; 
    color: #e0b0ff;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #1c0834;
}

.toggle-icon {
    font-size: 1rem;
    color: #a366ff;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon {
    transform: rotate(180deg);
    color: #fff;
}

.faq-answer {
    background-color: #1a0933;
    color: #c4b5fd;
    max-height: 0; 
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.faq-answer p {
    padding: 0 25px 20px;
    line-height: 1.7;
}

.faq-item.active .faq-question {
    background-color: #1c0834;
    color: #ffffff;
}

/* --- Sekcja Stopki (Footer) --- */
.main-footer {
    background-color: #120327; 
    color: #e0b0ff;
    padding: 60px 20px 20px; 
    position: relative;
    z-index: 10;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; 
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo-text {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    margin-left: 10px; 
}

.footer-brand .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo {
    height: 45px; 
    filter: brightness(1.2); 
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #c4b5fd;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(163, 102, 255, 0.2); 
    color: #a366ff;
    font-size: 1.2rem;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.social-icon:hover {
    background-color: #a366ff;
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-links-group h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex; 
    align-items: center;
}

/* Styl dla ikon w nagłówkach stopki */
.footer-icon {
    margin-right: 8px; 
    font-size: 1em; 
    color: #a366ff; 
}


.footer-links-group ul {
    list-style: none;
}

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

.footer-links-group ul li a {
    color: #c4b5fd;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-links-group ul li a:hover {
    color: #a366ff;
}

/* Nowy kwadrat z informacją o autorze (POPRAWIONY) */
.footer-author-box {
    background-color: #1a0933; 
    border: 1px solid rgba(168, 85, 247, 0.3); 
    border-radius: 6px;
    padding: 8px 12px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #c4b5fd; 
    font-size: 0.8rem;
    line-height: 1.3;
    text-align: center;
    width: fit-content;
    max-width: 250px;
    margin: 20px auto;
}

.footer-author-box p {
    margin: 0;
}


.footer-bottom {
    border-top: 1px solid rgba(168, 85, 247, 0.1); 
    padding-top: 25px;
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
    color: #93c5fd;
}

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

/* 💜 --- NAWIGACJA (Zachowana) --- 💜 */
.main-nav {
    display: flex;
    justify-content: center;
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: transparent;
    padding: 0 20px; 
    box-shadow: none;
    border-bottom: none;
    z-index: 100;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 950px; 
    width: 100%; 
    padding: 10px 20px; 
    background-color: rgba(30, 0, 50, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(163, 102, 255, 0.3);
    border: 1px solid rgba(163, 102, 255, 0.5);
}

.logo-img {
    height: 40px; 
    transition: transform 0.3s ease-in-out;
}

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

.main-nav ul.nav-links {
    list-style: none;
    display: flex;
    flex-grow: 1; 
    justify-content: center; 
    margin: 0 20px; 
}

.main-nav li {
    margin: 0 15px;
}

/* --- Linki nawigacyjne: ULEPSZONY ZNACZNIK I EFEKT HOVER --- */
.nav-link {
    color: #e0b0ff;
    text-decoration: none;
    font-size: 1.1em;
    padding: 5px 10px;
    transition: color 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    color: #ffffff;
    transform: scale(1.05);
}

.main-nav .nav-link.active::after,
.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px; 
    background: linear-gradient(90deg, #a366ff, #e0b0ff);
    transition: width 0.3s ease-in-out;
}

.nav-link::after {
    width: 0;
}

.main-nav .nav-link.active {
    color: #ffffff;
    font-weight: bold;
}
.main-nav .nav-link.active::after {
    width: 100%;
}

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

/* --- Przycisk panelu klienta --- */
.client-panel-button {
    background: linear-gradient(90deg, #7e22ce, #a855f7);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    white-space: nowrap;
}

.client-panel-button:hover {
    background: linear-gradient(90deg, #a855f7, #c084fc);
    transform: scale(1.05);
}

/* 📱 --- RESPONSIVE DESIGN --- 📱 */
@media (max-width: 1200px) {
    .testimonial-card {
        width: 30%; 
    }
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr; 
    }
    .footer-author-box {
        max-width: none; 
    }
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr); 
        width: 95%;
    }
    
    .nav-container {
        max-width: 90%; 
    }
    .hero-title {
        font-size: 3rem;
    }
    .offers-grid {
        gap: 20px;
        flex-wrap: wrap; 
    }
    .offer-card {
        width: 45%; 
        max-width: 350px; 
        height: 300px;
    }
    .testimonials-grid {
        gap: 20px;
        flex-wrap: wrap; 
    }
    .testimonial-card {
        width: 45%; 
        max-width: 400px;
    }
    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr; 
        gap: 30px;
    }
    .footer-author-box {
        grid-column: span 3; 
        margin-top: 30px;
        max-width: 350px; 
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .main-nav {
        top: 10px; 
    }

    .nav-container {
        flex-direction: column;
        width: 95%;
        max-width: 350px; 
        padding: 15px;
        text-align: center;
    }
    
    .logo-link {
        margin-bottom: 10px; 
    }

    .main-nav ul.nav-links {
        flex-direction: column;
        margin: 10px 0;
        width: 100%;
    }
    
    .content {
        padding-top: 250px; 
        min-height: auto; 
    }

    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .offers-grid {
        flex-direction: column;
        align-items: center;
    }
    .offer-card {
        width: 90%; 
        max-width: 350px;
        height: 200px; 
    }

    .features-grid {
        grid-template-columns: 1fr; 
        width: 90%;
        gap: 15px;
    }
    
    .testimonials-grid {
        flex-direction: column;
        align-items: center;
    }
    .testimonial-card {
        width: 90%; 
        max-width: 350px;
        padding: 25px;
    }
    
    .faq-container {
        width: 90%;
    }

    .footer-container {
        grid-template-columns: 1fr; 
        text-align: center;
    }
    .footer-brand .logo-link {
        justify-content: center; 
    }
    .footer-links-group {
        margin-top: 30px;
    }
    .footer-links-group ul {
        padding-left: 0;
    }
    .social-icons {
        justify-content: center;
    }
    .footer-author-box {
        grid-column: span 1; 
        margin-top: 30px;
        width: 90%; 
        max-width: 300px; 
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .footer-links-group h4 {
        font-size: 1.1rem;
    }
    .footer-description, .footer-links-group ul li a, .footer-bottom p {
        font-size: 0.85rem;
    }
}