/*
Theme Name: VPS Comparison Pro
Theme URI: https://vpscomparison.com
Description: SEO-optimized VPS hosting comparison WordPress theme
Version: 1.0.0
Author: VPS Comparison Team
License: GPL-2.0-or-later
Text Domain: vps-comparison
Requires at least: 5.8
Requires PHP: 7.4
*/
:root{--primary:#0066FF;--primary-dark:#0052CC;--secondary:#FF6B35;--success:#10B981;--danger:#EF4444;--dark:#1F2937;--light:#F9FAFB;--border:#E5E7EB;--text-muted:#6B7280;--shadow:0 4px 6px rgba(0,0,0,0.1);--shadow-lg:0 10px 25px rgba(0,0,0,0.15)}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;line-height:1.6;color:var(--dark);background:#fff;-webkit-font-smoothing:antialiased}
.site-header{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:100;box-shadow:0 2px 4px rgba(0,0,0,0.05)}
.header-wrapper{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;max-width:1400px;margin:0 auto;padding-left:2rem;padding-right:2rem}
.site-logo{font-size:1.5rem;font-weight:800;color:var(--dark);text-decoration:none}
.site-logo span{color:var(--primary)}
.nav-menu{display:flex;gap:2rem;list-style:none}
.nav-menu a{text-decoration:none;color:var(--dark);font-weight:500;transition:color 0.3s}
.nav-menu a:hover{color:var(--primary)}
.language-switcher{display:flex;gap:0.5rem}
.lang-btn{padding:0.5rem 1rem;border:1px solid var(--border);background:#fff;cursor:pointer;border-radius:4px;transition:all 0.3s}
.lang-btn.active{background:var(--primary);color:white}
.hero-section{background:linear-gradient(135deg,var(--primary) 0%,#764ba2 100%);color:white;padding:5rem 2rem;text-align:center;margin-bottom:3rem}
.hero-content{max-width:900px;margin:0 auto}
.hero-section h1{font-size:3rem;margin-bottom:1rem;font-weight:800;line-height:1.2}
.hero-section p{font-size:1.25rem;margin-bottom:2rem;opacity:0.95}
.hero-cta{display:inline-block;padding:1rem 2.5rem;background:var(--secondary);color:white;text-decoration:none;border-radius:6px;font-weight:600;transition:all 0.3s;box-shadow:0 4px 15px rgba(255,107,53,0.3)}
.hero-cta:hover{background:#FF5722;transform:translateY(-3px)}
.container,.container-lg{max-width:1400px;margin:0 auto;padding:0 2rem}
.filters-section{background:var(--light);padding:2.5rem;border-radius:12px;margin-bottom:3rem;border:1px solid var(--border)}
.filter-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;align-items:flex-end}
.filter-group{display:flex;flex-direction:column}
.filter-group label{display:block;font-weight:600;margin-bottom:0.75rem;color:var(--dark)}
.filter-input,.filter-select{width:100%;padding:0.75rem;border:1px solid var(--border);border-radius:6px;font-size:1rem;background:white;color:var(--dark);transition:all 0.3s}
.filter-input:focus,.filter-select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(0,102,255,0.1)}
.filter-btn{padding:0.75rem 2rem;background:var(--primary);color:white;border:none;border-radius:6px;cursor:pointer;font-weight:600;transition:all 0.3s;width:100%}
.filter-btn:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:var(--shadow-lg)}
.hosting-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:2rem;margin-bottom:3rem}
.hosting-card{border:2px solid var(--border);border-radius:12px;padding:2rem;background:#fff;transition:all 0.3s;position:relative;display:flex;flex-direction:column}
.hosting-card:hover{border-color:var(--primary);box-shadow:var(--shadow-lg);transform:translateY(-8px)}
.hosting-card.featured{border-color:var(--primary);box-shadow:var(--shadow-lg);background:linear-gradient(135deg,rgba(0,102,255,0.02),rgba(255,107,53,0.02))}
.hosting-badge{display:inline-block;padding:0.5rem 1rem;background:linear-gradient(135deg,var(--success),#059669);color:white;border-radius:50px;font-size:0.75rem;margin-bottom:1rem;font-weight:700;text-transform:uppercase;width:fit-content}
.hosting-card h3{font-size:1.5rem;margin-bottom:1rem;color:var(--dark)}
.hosting-price{font-size:2.5rem;font-weight:800;color:var(--primary);margin-bottom:0.5rem}
.hosting-price-period{font-size:0.875rem;color:var(--text-muted);margin-left:0.5rem}
.hosting-specs{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border)}
.hosting-spec{text-align:center}
.hosting-spec-label{font-size:0.75rem;color:var(--text-muted);text-transform:uppercase;margin-bottom:0.5rem;font-weight:600}
.hosting-spec-value{font-size:1.25rem;font-weight:700;color:var(--primary)}
.hosting-rating{margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border)}
.hosting-features{list-style:none;margin-bottom:2rem;flex-grow:1}
.hosting-features li{padding:0.75rem 0;color:var(--dark);display:flex;align-items:center;gap:0.75rem;border-bottom:1px solid var(--border)}
.hosting-features li:before{content:"✓";color:var(--success);font-weight:800;font-size:1.1rem}
.hosting-cta-group{display:flex;flex-direction:column;gap:0.75rem}
.hosting-cta,.hosting-cta-secondary{display:block;width:100%;padding:1rem;text-decoration:none;text-align:center;border-radius:6px;font-weight:600;transition:all 0.3s;border:2px solid transparent}
.hosting-cta{background:var(--primary);color:white;border-color:var(--primary)}
.hosting-cta:hover{background:var(--primary-dark);border-color:var(--primary-dark);transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,102,255,0.3)}
.hosting-cta-secondary{background:transparent;color:var(--primary);border-color:var(--primary)}
.hosting-cta-secondary:hover{background:rgba(0,102,255,0.05);transform:translateY(-2px)}
.comparison-wrapper{overflow-x:auto;margin:2rem 0;border-radius:12px;border:1px solid var(--border)}
.comparison-table{width:100%;border-collapse:collapse;background:white}
.comparison-table thead{background:linear-gradient(135deg,var(--primary),var(--primary-dark));color:white}
.comparison-table th{padding:1.5rem;text-align:left;font-weight:700;border-right:1px solid rgba(255,255,255,0.1)}
.comparison-table td{padding:1.25rem 1.5rem;border-bottom:1px solid var(--border);border-right:1px solid var(--border)}
.comparison-table tbody tr:hover{background:rgba(0,102,255,0.02)}
.faq-section{max-width:800px;margin:3rem auto}
.faq-item{margin-bottom:1rem;border:1px solid var(--border);border-radius:8px;overflow:hidden}
.faq-question{padding:1.5rem;background:var(--light);cursor:pointer;font-weight:600;display:flex;justify-content:space-between;align-items:center;transition:all 0.3s}
.faq-question:hover{background:rgba(0,102,255,0.05);color:var(--primary)}
.faq-toggle{font-size:1.5rem;transition:transform 0.3s;color:var(--primary)}
.faq-item.active .faq-toggle{transform:rotate(180deg)}
.faq-answer{padding:0;background:white;max-height:0;overflow:hidden;transition:max-height 0.3s,padding 0.3s}
.faq-item.active .faq-answer{max-height:500px;padding:1.5rem;border-top:1px solid var(--border)}
.blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:2rem;margin-bottom:3rem}
.blog-card{border:1px solid var(--border);border-radius:12px;overflow:hidden;transition:all 0.3s;display:flex;flex-direction:column}
.blog-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-8px)}
.blog-image{width:100%;height:200px;object-fit:cover}
.blog-content{padding:1.5rem;flex-grow:1}
.blog-category{display:inline-block;padding:0.35rem 0.75rem;background:var(--primary);color:white;border-radius:50px;font-size:0.75rem;font-weight:700;margin-bottom:1rem;text-transform:uppercase}
.blog-card h3{font-size:1.25rem;margin-bottom:0.75rem;line-height:1.4}
.blog-excerpt{color:var(--text-muted);margin-bottom:1rem;line-height:1.6}
.blog-meta{display:flex;justify-content:space-between;align-items:center;font-size:0.85rem;color:var(--text-muted)}
.blog-link{color:var(--primary);text-decoration:none;font-weight:600;transition:all 0.3s}
.blog-link:hover{color:var(--primary-dark)}
.sidebar{background:var(--light);padding:2rem;border-radius:12px;border:1px solid var(--border);height:fit-content}
.sidebar-widget{margin-bottom:2rem}
.sidebar-widget h3{font-size:1.1rem;margin-bottom:1rem;padding-bottom:1rem;border-bottom:2px solid var(--primary)}
.sidebar-widget ul{list-style:none}
.sidebar-widget a{color:var(--primary);text-decoration:none;transition:all 0.3s}
.sidebar-widget a:hover{color:var(--primary-dark)}
.site-footer{background:var(--dark);color:#D1D5DB;padding:3rem 2rem 1rem;margin-top:3rem}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2rem;max-width:1400px;margin:0 auto 2rem}
.footer-widget h4{margin-bottom:1rem;font-size:1rem;color:white;font-weight:700}
.footer-widget a{color:#D1D5DB;text-decoration:none;transition:all 0.3s}
.footer-widget a:hover{color:var(--primary)}
.footer-bottom{border-top:1px solid #374151;padding-top:1.5rem;text-align:center;color:#9CA3AF;font-size:0.875rem}
.sticky-cta{position:fixed;bottom:2rem;right:2rem;background:linear-gradient(135deg,var(--primary),var(--primary-dark));color:white;padding:1rem 1.5rem;border-radius:50px;font-weight:600;cursor:pointer;box-shadow:var(--shadow-lg);z-index:999;transition:all 0.3s;max-width:320px}
.sticky-cta:hover{transform:scale(1.05)}
.sticky-cta-close{position:absolute;top:0.5rem;right:0.75rem;cursor:pointer;font-size:1.5rem}
.text-center{text-align:center}
.mt-2{margin-top:2rem}
.mt-3{margin-top:3rem}
.mb-2{margin-bottom:2rem}
.mb-3{margin-bottom:3rem}
.hidden{display:none !important}
.btn{display:inline-block;padding:0.75rem 1.5rem;border:none;border-radius:6px;font-weight:600;cursor:pointer;transition:all 0.3s;text-decoration:none}
.btn-primary{background:var(--primary);color:white}
.btn-primary:hover{background:var(--primary-dark)}
.alert{padding:1rem 1.5rem;border-radius:8px;margin-bottom:1.5rem;border-left:4px solid}
.alert-info{background:rgba(0,102,255,0.1);color:#0C2340;border-color:var(--primary)}
@media (max-width:768px){.header-wrapper{flex-wrap:wrap;gap:1rem}.hero-section h1{font-size:2rem}.hosting-grid{grid-template-columns:1fr}.sticky-cta{bottom:1rem;right:1rem;left:1rem;max-width:none}.blog-grid{grid-template-columns:1fr}}