
/* General Body Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

/* Custom styles to override or complement Bootstrap */

/* Main Content Area */
main {
    /* Bootstrap container already handles max-width and margin auto */
    padding: 20px; /* Add some padding */
    /* background-color, border-radius, box-shadow are handled by Bootstrap classes in HTML */
}

/* Hero Section */
.hero {
    /* text-align, padding, background-color, color, border-radius, margin-bottom are handled by Bootstrap classes in HTML */
}

.hero h1 {
    /* font-size, margin-bottom are handled by Bootstrap classes in HTML */
}

.hero p {
    /* font-size, margin-bottom are handled by Bootstrap classes in HTML */
}

.hero-actions .btn {
    /* display, padding, margin, border-radius, text-decoration, font-weight, transition are handled by Bootstrap classes in HTML */
}

/* Intro Text Section */
.intro-text {
    /* padding, text-align, margin-bottom are handled by Bootstrap classes in HTML */
}

.intro-text h2 {
    /* font-size, margin-bottom, color are handled by Bootstrap classes in HTML */
}

/* Featured VPNs / VPN Card Grid */
.featured-vpns, .vpn-results, .tutorial-grid {
    padding: 20px 0;
}

.featured-vpns h2, .vpn-list-page h1, .vpn-finder-page h1, .content-page h1, .tutorial-grid h1 {
    /* text-align, font-size, margin-bottom, color are handled by Bootstrap classes in HTML */
}

.vpn-grid, .tutorial-grid {
    /* display, grid-template-columns, gap, justify-content are handled by Bootstrap classes in HTML */
}

.vpn-card, .tutorial-card {
    /* background-color, border, border-radius, padding, text-align, box-shadow, transition are handled by Bootstrap classes in HTML */
}

.vpn-card:hover, .tutorial-card:hover {
    transform: translateY(-5px);
}

.vpn-card img {
    max-width: 100px;
    /* margin-bottom is handled by Bootstrap classes in HTML */
}

.vpn-card h3, .tutorial-card h3 {
    /* font-size, margin-bottom, color are handled by Bootstrap classes in HTML */
}

.vpn-card .tag {
    /* display, background-color, color, padding, border-radius, font-size, margin-bottom are handled by Bootstrap classes in HTML */
}

.vpn-card .rating {
    color: #f39c12;
    /* font-size, margin-bottom are handled by Bootstrap classes in HTML */
}

.vpn-card p {
    /* font-size, margin-bottom are handled by Bootstrap classes in HTML */
}

/* Content Pages (Privacy Policy, Why VPN?, Tutorials) */
.content-page {
    padding: 20px;
}

.content-page h1 {
    /* font-size, margin-bottom, color, text-align are handled by Bootstrap classes in HTML */
}

.content-page h2 {
    /* font-size, margin-top, margin-bottom, color, border-bottom, padding-bottom are handled by Bootstrap classes in HTML */
}

.content-page h3 {
    /* font-size, margin-top, margin-bottom, color are handled by Bootstrap classes in HTML */
}

.content-page p {
    /* margin-bottom is handled by Bootstrap classes in HTML */
}

.content-page ul {
    list-style: disc;
    margin-left: 20px;
    /* margin-bottom is handled by Bootstrap classes in HTML */
}

.content-page ul li {
    margin-bottom: 5px;
}

/* VPN List Page Specifics */
.vpn-list-page .filters {
    /* background-color, padding, border-radius, margin-bottom, box-shadow are handled by Bootstrap classes in HTML */
}

.vpn-list-page .filters h3 {
    /* text-align, margin-top, color, font-size, margin-bottom are handled by Bootstrap classes in HTML */
}

/* VPN Finder Wizard Styles */
.wizard-container {
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 15px;
    overflow: hidden;
}

.wizard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.wizard-progress {
    border-bottom: 1px solid #e9ecef;
}

.wizard-content {
    min-height: 400px;
    position: relative;
}

.step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.step.active {
    display: block;
}

.step-header {
    margin-bottom: 2rem;
}

.step-icon {
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.options-grid .option-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.options-grid .option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.options-grid .btn-check:checked + .option-card {
    border-color: #0d6efd;
    background-color: #f8f9fa;
}

.wizard-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

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

/* Responsive adjustments for wizard */
@media (max-width: 768px) {
    .wizard-container {
        margin: 0 15px;
        border-radius: 10px;
    }

    .wizard-content {
        min-height: 350px;
        padding: 1.5rem;
    }

    .options-grid .col-md-6,
    .options-grid .col-lg-4 {
        margin-bottom: 1rem;
    }

    .step-icon {
        width: 50px !important;
        height: 50px !important;
    }

    .step-icon i {
        font-size: 1.5rem !important;
    }
}

/* Enhanced VPN Cards */
.vpn-results .card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.vpn-results .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.vpn-results .card-header {
    border: none;
    position: relative;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.vpn-results .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
}

.rating {
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.feature-item {
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.pricing-section {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.key-features small {
    font-size: 0.75rem;
    line-height: 1.2;
}

/* Responsive adjustments for VPN cards */
@media (max-width: 768px) {
    .vpn-results .card {
        margin-bottom: 1.5rem;
    }

    .vpn-results .card-body {
        padding: 1.5rem;
    }

    .features-grid .col-6 {
        margin-bottom: 1rem;
    }

    .feature-item {
        padding: 0.75rem;
    }
}

/* VPN Finder Wizard Styles */
.wizard-container {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 2rem auto;
    max-width: 900px;
}

.wizard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.wizard-progress {
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
}

.wizard-content {
    min-height: 400px;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
}

.wizard-footer {
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

/* Step Styles */
.step {
    display: none;
}

.step.active {
    display: block;
}

.step-icon {
    transition: all 0.3s ease;
}

.step-icon:hover {
    transform: scale(1.1);
}

/* Option Cards */
.option-card {
    height: 100%;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

.option-card:hover {
    border-color: #0d6efd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Selected state for option cards */
input[type="radio"]:checked + label.btn,
input[type="checkbox"]:checked + label.btn {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25) !important;
    transform: translateY(-1px);
}

/* Checkmark indicator for selected options */
input[type="radio"]:checked + label.btn::after,
input[type="checkbox"]:checked + label.btn::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #0d6efd;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Enhanced button check styles */
.btn-check:checked + .btn {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25) !important;
}

.btn-check:checked + .btn-outline-primary {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25) !important;
}

/* Button Groups */
.btn-group-vertical .btn {
    margin-bottom: 0.5rem;
    border-radius: 8px !important;
}

.btn-group-vertical .btn:last-child {
    margin-bottom: 0;
}

/* Form Controls */
.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-check:checked + .btn {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

.btn-check:checked + .btn-outline-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

/* Progress Bar */
.progress {
    border-radius: 10px;
}

.progress-bar {
    border-radius: 10px;
}

/* Responsive adjustments for wizard */
@media (max-width: 768px) {
    .wizard-container {
        margin: 1rem;
        border-radius: 10px;
    }

    .wizard-content {
        min-height: 350px;
        padding: 1.5rem;
    }

    .options-grid .col-md-6,
    .options-grid .col-lg-4 {
        margin-bottom: 1rem;
    }

    .step-icon {
        width: 50px !important;
        height: 50px !important;
    }

    .step-icon i {
        font-size: 1.5rem !important;
    }

    .btn-group-vertical {
        flex-direction: row !important;
        flex-wrap: wrap;
    }

    .btn-group-vertical .btn {
        flex: 1;
        margin-bottom: 0.5rem;
    }
}

/* Filter Grid Layout */
.filter-category {
    transition: all 0.3s ease;
}

.filter-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.filter-header {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.filter-header h5 {
    font-weight: 600;
}

.toggle-btn {
    border: none;
    background: none;
    transition: transform 0.3s ease;
}

.toggle-btn:hover {
    background-color: #f8f9fa;
}

.toggle-btn i {
    transition: transform 0.3s ease;
}

.filter-body {
    display: none;
    padding-top: 1rem;
}

.filter-body.show {
    display: block;
}

.filter-category.active .toggle-btn i {
    transform: rotate(180deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .filter-category {
        margin-bottom: 1rem;
    }

    .filter-header h5 {
        font-size: 1rem;
    }
}