/* Zmienne kolorów */
:root {
    --primary: #2d3e8a;
    --primary-light: #4a5fc1;
    --secondary: #ff7b29;
    --secondary-light: #ff9e5c;
    --nordvpn: #2f5bea;
    --nordvpn-light: #5b7cfa;
    --surfshark: #3ddc97;
    --surfshark-light: #6ee7b7;
    --ipvanish: #f15a29;
    --ipvanish-light: #f58a64;
    --dark: #1a1a2e;
    --dark-light: #2d2d44;
    --light: #f8f9fa;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
}

/* Reset i ustawienia podstawowe */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f5f7ff;
    overflow-x: hidden;
}

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

/* Nagłówek */
.header {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* Sekcja główna */
.main-content {
    padding: 40px 0 80px;
}

.hero-section {
    text-align: center;
    margin-bottom: 60px;
    padding: 30px 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
}

.highlight {
    color: var(--primary);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(255, 123, 41, 0.2);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Karty porównania - z większym odstępem */
.comparison-cards {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    flex: 1;
    min-width: 320px;
    max-width: 500px;
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s, box-shadow 0.4s;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

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

.nordvpn-card {
    border-top: 6px solid var(--nordvpn);
    margin-right: 10px;
}

.surfshark-card {
    border-top: 6px solid var(--surfshark);
    margin-left: 10px;
}
/* أنماط بطاقة IPVanish */
.ipvanish-card {
    border-top: 6px solid var(--ipvanish);
    margin-left: 10px;
}

/* أنماط زر IPVanish */
.ipvanish-btn {
    background: linear-gradient(to right, var(--ipvanish), var(--ipvanish-light));
    color: white;
}

.ipvanish-btn:hover {
    background: linear-gradient(to right, var(--ipvanish-light), #99ddff);
    transform: translateY(-3px);
    box-shadow: 0 7px 0px rgba(0, 153, 229, 0.3);
}

/* لون شارة "Najlepszy budżet" */
.best-budget {
    background-color: rgba(0, 153, 229, 0.15);
    color: #006699;
}

.card-header {
    padding: 25px 25px 15px;
    position: relative;
}

.provider-logo {
    height: 200px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.logo-img {
    max-height: 100%;
    max-width: 200px;
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.best-choice {
    background-color: rgba(255, 193, 7, 0.15);
    color: #856404;
}

.best-value {
    background-color: rgba(40, 167, 69, 0.15);
    color: #155724;
}

.card-body {
    padding: 0 25px;
    flex-grow: 1;
}

.price-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-light);
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.price-amount {
    color: var(--primary);
}

.price-note {
    font-size: 0.9rem;
    color: var(--gray);
}

.features-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark);
}

.features-list {
    list-style: none;
    margin-bottom: 25px;
}

.features-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.features-list i {
    color: var(--success);
    margin-top: 4px;
    flex-shrink: 0;
}

.rating {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-light);
}

.stars {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}

.stars i {
    color: var(--warning);
}

.rating-value {
    font-weight: 700;
    margin-left: 10px;
    color: var(--dark);
}

.rating-text {
    font-size: 0.9rem;
    color: var(--gray);
}

.card-footer {
    padding: 25px;
    background-color: #f9fafc;
    border-top: 1px solid var(--gray-light);
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.btn-card {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
    display: block;
}

.nordvpn-btn {
    background: linear-gradient(to right, var(--nordvpn), var(--nordvpn-light));
    color: white;
}

.nordvpn-btn:hover {
    background: linear-gradient(to right, var(--nordvpn-light), #10c278);
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(11, 124, 77, 0.3);
}

.surfshark-btn {
    background: linear-gradient(to right, var(--surfshark), var(--surfshark-light));
    color: white;
}

.surfshark-btn:hover {
    background: linear-gradient(to right, var(--surfshark-light), #ff9e7a);
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(255, 107, 53, 0.3);
}

.affiliate-note {
    font-size: 0.8rem;
    color: var(--gray);
    font-style: italic;
    margin-top: 5px;
}

/* Sekcja porównania */
.comparison-section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--dark);
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
}

.comparison-table {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

thead {
    background: linear-gradient(to right, var(--primary), var(--primary-light));
}

th {
    padding: 20px;
    text-align: left;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--gray-light);
}

tbody tr:nth-child(even) {
    background-color: #f9fafc;
}

tbody tr:hover {
    background-color: #f0f4ff;
}

.success {
    color: var(--success);
    font-size: 1.2rem;
}

/* Sekcja wyboru */
.choice-section {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.choice-card {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.choice-card:nth-child(1) {
    border-left: 5px solid var(--nordvpn);
}

.choice-card:nth-child(2) {
    border-left: 5px solid var(--surfshark);
    
}

.choice-card h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.choice-card:nth-child(1) h2 i {
    color: var(--nordvpn);
}

.choice-card:nth-child(2) h2 i {
    color: var(--surfshark);
}

.choice-intro {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: 500;
}

.choice-card ul {
    list-style: none;
    padding-left: 0;
}

.choice-card li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.choice-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 1.2rem;
}

.choice-card:nth-child(1) li::before {
    color: var(--nordvpn);
}

.choice-card:nth-child(2) li::before {
    color: var(--surfshark);
}

/* Sekcja FAQ */
.faq-section {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
}

.faq-item {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--gray-light);
}

.faq-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.faq-question {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary);
}

.faq-answer {
    color: var(--dark);
    line-height: 1.7;
}

/* Stopka */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 70px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.footer-title span {
    color: var(--secondary);
}

.footer-text {
    color: #b0b7c3;
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-meta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--dark-light);
}

.footer-meta p {
    color: #b0b7c3;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

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

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

.footer-links a {
    color: #b0b7c3;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #b0b7c3;
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 3px;
}

.warning-link {
    color: #ff6b6b;
    text-decoration: none;
}

.warning-link:hover {
    text-decoration: underline;
}

.disclaimer {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid var(--secondary);
}

.disclaimer p {
    color: #b0b7c3;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--dark-light);
    text-align: center;
    color: #b0b7c3;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--secondary);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.seo-note {
    font-size: 0.8rem;
    color: #8a94a6;
    margin-top: 15px;
    font-style: italic;
}

/* Responsywność */
@media (max-width: 1100px) {
    .comparison-cards {
        gap: 30px;
    }
    
    .card {
        min-width: 280px;
    }
    
    .nordvpn-card {
        margin-right: 0;
    }
    
    .surfshark-card {
        margin-left: 0;
    }
    .ipvanish-card{
        margin-left: 0;
    }
}

@media (max-width: 992px) {
    .comparison-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .card {
        width: 100%;
        max-width: 600px;
    }
    
    .choice-section {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .navbar.active .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .faq-section {
        padding: 30px 20px;
    }
    
    .choice-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.7rem;
    }
    
    .card {
        min-width: 100%;
    }
    
    .price {
        font-size: 1.6rem;
    }
    
    .features-title {
        font-size: 1.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0,0,0,0.2); }
    70% { box-shadow: 0 0 0 15px rgba(0,0,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}

.btn-card {
    position: relative;
}

.nordvpn-btn {
    animation: pulse 2.5s infinite;
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

/* تأخير ذكي لكل بطاقة */
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.3s; }
.card:nth-child(3) { animation-delay: 0.5s; }
}