/* CSS Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: color 0.3s ease, background-color 0.3s ease;
    overflow-x: hidden;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main {
    min-height: calc(100vh - 140px);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Header and Navigation */
.header {
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: var(--primary-light);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-toggle,
.lang-toggle,
.nav-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}

.theme-toggle:hover,
.lang-toggle:hover,
.nav-toggle:hover {
    background: var(--bg-tertiary);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 3px;
}

.hamburger {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 0.5rem;
    min-height: 48px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    color: white;
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    min-height: 36px;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: var(--hero-gradient);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    background: var(--text-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-icon {
    width: 300px;
    height: 300px;
    animation: float 3s ease-in-out infinite;
}

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

/* Page Header */
.page-header {
    padding: 3rem 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.page-title {
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.coupons-header {
    background: var(--gradient-vibrant);
    color: white;
}

.coupons-header .page-title,
.coupons-header .page-subtitle {
    color: white;
}

.deals-counter {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.counter-item {
    text-align: center;
}

.counter-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.counter-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

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

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Features Grid */
.features {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 32px;
    height: 32px;
}

.feature-title {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
}

/* VPN Cards */
.top-vpns {
    padding: 4rem 0;
}

.vpn-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.vpn-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.vpn-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.vpn-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.vpn-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    background: var(--accent-gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0 0 8px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.vpn-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.vpn-name {
    font-size: 1.5rem;
    margin: 0;
    color: var(--text-primary);
}

.vpn-rating {
    text-align: right;
}

.stars {
    color: var(--accent-color);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.rating-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.vpn-price {
    margin-bottom: 1.5rem;
}

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

.period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.vpn-features {
    list-style: none;
    margin-bottom: 2rem;
}

.vpn-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.vpn-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.vpn-cta {
    width: 100%;
}

/* Comparison Table */
.comparison-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.comparison-table-wrapper {
    overflow-x: auto;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
    position: sticky;
    top: 0;
}

.comparison-table .featured-row {
    background: var(--primary-light);
}

.vpn-name-cell {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.best-choice-badge {
    background: var(--accent-gradient);
    color: white;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    align-self: flex-start;
}

.rating-cell {
    text-align: center;
}

.rating-value {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.price-cell {
    text-align: center;
}

.original-price {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: block;
}

/* Detailed Reviews */
.detailed-reviews {
    padding: 4rem 0;
}

.review-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.review-card.featured {
    border: 2px solid var(--primary-color);
    background: var(--primary-light);
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.review-title-section {
    flex: 1;
}

.review-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.review-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.best-choice {
    background: var(--accent-gradient);
    color: white;
}

.badge.editors-pick {
    background: var(--success-gradient);
    color: white;
}

.badge.best-value {
    background: var(--primary-gradient);
    color: white;
}

.badge.budget-pick {
    background: var(--warning-gradient);
    color: white;
}

.review-rating {
    text-align: right;
}

.stars.large {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.review-content {
    margin-bottom: 1.5rem;
}

.review-summary {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.review-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-pros h4,
.feature-cons h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-pros ul,
.feature-cons ul {
    list-style: none;
}

.feature-pros li {
    color: var(--success-color);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
}

.feature-cons li {
    color: var(--error-color);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-cons li::before {
    content: '✗';
    position: absolute;
    left: 0;
    font-weight: bold;
}

.review-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
}

.pricing-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.original-price {
    text-decoration: line-through;
    color: var(--text-secondary);
}

.discount {
    background: var(--success-gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Selection Guide */
.selection-guide {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.guide-factors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.factor-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.factor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.factor-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Deals and Coupons */
.featured-deals {
    padding: 4rem 0;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.deal-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.deal-card.featured {
    border: 2px solid var(--accent-color);
    background: var(--accent-light);
}

.deal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.deal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.deal-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.deal-badge.hot {
    background: var(--error-gradient);
    color: white;
}

.deal-badge.popular {
    background: var(--accent-gradient);
    color: white;
}

.deal-badge.budget {
    background: var(--success-gradient);
    color: white;
}

.deal-expires {
    font-size: 0.875rem;
    color: var(--error-color);
    font-weight: 600;
}

.deal-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.deal-discount {
    margin-bottom: 1rem;
}

.discount-percent {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
}

.discount-text {
    color: var(--success-color);
    font-weight: 600;
}

.deal-price {
    margin-bottom: 1.5rem;
}

.deal-price .original-price {
    text-decoration: line-through;
    color: var(--text-secondary);
    margin-right: 0.5rem;
}

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

.deal-description {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.deal-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature {
    background: var(--bg-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.deal-action {
    text-align: center;
}

.deal-btn {
    width: 100%;
    margin-bottom: 1rem;
}

.deal-verification {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.verified-badge {
    color: var(--success-color);
    font-weight: 600;
}

/* All Deals Section */
.all-deals {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.deals-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.deals-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.deal-item {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.deal-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.deal-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.deal-logo {
    width: 60px;
    height: 60px;
    background: var(--bg-secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-color);
}

.deal-details h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.deal-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.deal-meta .deal-price {
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.ending-soon {
    color: var(--error-color);
    font-weight: 600;
    animation: pulse 2s infinite;
}

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

/* Guides */
.latest-guides {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.guide-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.guide-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.guide-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.guide-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.guide-link:hover {
    color: var(--primary-dark);
}

/* Guides Page Specific */
.guides-header {
    background: var(--gradient-tech);
    color: white;
}

.guides-header .page-title,
.guides-header .page-subtitle {
    color: white;
}

.guide-categories {
    padding: 2rem 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-btn {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.featured-guide {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.guide-hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.guide-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.guide-category {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.reading-time {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.guide-highlights {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.highlight-icon {
    font-size: 1rem;
}

.guides-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.guide-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.guide-card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.guide-card-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.guide-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guide-stats {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Full Guide Content */
.full-guide {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.guide-article {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.article-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.article-content {
    line-height: 1.8;
}

.article-content h3 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

.guide-list {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.guide-list li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.guide-checklist {
    margin: 2rem 0;
}

.checklist-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border-left: 4px solid var(--success-color);
}

.checklist-icon {
    color: var(--success-color);
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.checklist-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.guide-steps {
    margin: 2rem 0;
    padding-left: 2rem;
    counter-reset: step-counter;
}

.guide-steps li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    counter-increment: step-counter;
    position: relative;
}

.guide-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: -2rem;
    top: 0;
    background: var(--primary-color);
    color: white;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tip-box {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.tip-box h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.guide-conclusion {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
}

.guide-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--primary-light);
    border-radius: 16px;
    text-align: center;
}

.guide-cta h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* Coupon Tips and FAQ */
.coupon-tips {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.tip-number {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.tip-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.tip-description {
    color: var(--text-secondary);
}

.faq-section {
    padding: 4rem 0;
}

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

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: var(--bg-secondary);
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: var(--bg-tertiary);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        border-top: 1px solid var(--border-color);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 1rem;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-icon {
        width: 200px;
        height: 200px;
    }

    .hero-cta {
        justify-content: center;
    }

    .vpn-cards {
        grid-template-columns: 1fr;
    }

    .vpn-card.featured {
        transform: none;
    }

    .comparison-table-wrapper {
        border-radius: 0;
        margin: 0 -20px;
    }

    .review-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .review-features {
        grid-template-columns: 1fr;
    }

    .review-pricing {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .deals-grid {
        grid-template-columns: 1fr;
    }

    .deal-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .guide-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .guide-visual {
        order: -1;
    }

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

    .deals-filter,
    .category-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 20px;
        margin: 0 -20px;
    }

    .deals-counter {
        flex-direction: column;
        gap: 1rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 0;
    }

    .section {
        padding: 2rem 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .vpn-card,
    .deal-card,
    .review-card {
        padding: 1.5rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }

    .guide-icon {
        width: 150px;
        height: 150px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
.theme-toggle:focus,
.lang-toggle:focus,
.nav-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .btn,
    .nav-controls {
        display: none !important;
    }

    .main {
        margin-top: 0;
    }

    .page-header {
        border-bottom: 2px solid #000;
        padding: 1rem 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
}
