/* VPN Guide - Stylesheet */

:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --secondary: #10B981;
    --dark: #1F2937;
    --gray: #6B7280;
    --light: #F3F4F6;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
}

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

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Hero */
.hero {
    background: var(--gradient);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
}

.btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* Top VPNs Section */
.top-vpns {
    padding: 60px 20px;
}

.top-vpns h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.vpn-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.vpn-card {
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

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

.vpn-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 40px rgba(79, 70, 229, 0.15);
}

.badge {
    display: inline-block;
    background: var(--light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.featured .badge {
    background: var(--primary);
    color: var(--white);
}

.vpn-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.rating {
    color: #F59E0B;
    font-weight: 600;
    margin-bottom: 20px;
}

.vpn-card .features {
    list-style: none;
    text-align: left;
    margin-bottom: 20px;
}

.vpn-card .features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--light);
    font-size: 0.95rem;
}

.price {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--gray);
}

.price strong {
    font-size: 1.5rem;
    color: var(--dark);
}

.vpn-card .btn {
    width: 100%;
    margin-bottom: 10px;
}

.vpn-card small {
    color: var(--gray);
    font-size: 0.85rem;
}

/* Features Section */
.features-section {
    background: var(--light);
    padding: 60px 20px;
}

.features-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

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

.feature {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.feature h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Articles Section */
.articles {
    padding: 60px 20px;
}

.articles h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

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

.article-card {
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.2s;
}

.article-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.article-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.article-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.article-card h3 a {
    color: var(--dark);
    text-decoration: none;
}

.article-card h3 a:hover {
    color: var(--primary);
}

.article-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* CTA Section */
.cta {
    background: var(--gradient);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta small {
    display: block;
    margin-top: 15px;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col p {
    color: #9CA3AF;
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
    color: #9CA3AF;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .vpn-cards {
        grid-template-columns: 1fr;
    }
}
