/* NordHost Shared Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    color: #fff;
    line-height: 1.6;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
}

.logo svg {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-cta {
    background: #667eea;
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
}

.nav-cta:hover {
    background: #5a6fd6;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 15px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    border: 1px solid rgba(255,255,255,0.2);
    transition: background 0.2s;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
}

/* Footer */
.site-footer {
    background: #0f172a;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-brand {
    text-align: center;
    margin-bottom: 24px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    margin-bottom: 8px;
}

.footer-logo svg {
    width: 32px;
    height: 32px;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-tagline {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #38bdf8;
}

.footer-copyright {
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    z-index: 2000;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.cookie-notice p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.cookie-notice a {
    color: #667eea;
}

.cookie-notice button {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-notice button:hover {
    background: #5a6fd6;
}

.cookie-notice.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 600px) {
    .cookie-notice {
        flex-direction: column;
        text-align: center;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px 40px;
    line-height: 1.8;
}

.legal-content h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.legal-content .last-updated {
    color: rgba(255,255,255,0.5);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.legal-content h2 {
    font-size: 1.3rem;
    margin-top: 35px;
    margin-bottom: 15px;
    color: #667eea;
}

.legal-content p,
.legal-content li {
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
}

.legal-content ul,
.legal-content ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.legal-content a {
    color: #667eea;
}

.legal-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-content {
        padding-top: 80px;
    }
    .legal-content h1 {
        font-size: 1.6rem;
    }
}

/* Guide Pages */
.guide-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px 80px;
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
}

.breadcrumb span {
    color: rgba(255,255,255,0.5);
    margin: 0 10px;
}

.guide-container h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.guide-container h1 .game-icon {
    margin-right: 15px;
}

.guide-container .intro {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
}

.guide-container h2 {
    font-size: 1.5rem;
    margin-top: 50px;
    margin-bottom: 20px;
    color: #667eea;
}

.guide-container h3 {
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.requirements {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

.requirements h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.requirements ul {
    list-style: none;
    padding: 0;
}

.requirements li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: rgba(255,255,255,0.8);
}

.requirements li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2ecc71;
}

.steps {
    counter-reset: step-counter;
}

.step {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 80px;
}

.step::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 25px;
    top: 25px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.step p {
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.step code {
    background: rgba(102, 126, 234, 0.2);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

.troubleshooting {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: 10px;
    padding: 25px;
    margin-top: 40px;
}

.troubleshooting h2 {
    color: #e74c3c;
    margin-top: 0;
}

.trouble-item {
    margin-bottom: 20px;
}

.trouble-item:last-child {
    margin-bottom: 0;
}

.trouble-item h4 {
    color: #fff;
    margin-bottom: 8px;
}

.trouble-item p {
    color: rgba(255,255,255,0.7);
    margin: 0;
    padding-left: 15px;
    border-left: 2px solid rgba(231, 76, 60, 0.3);
}

.related-links {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 25px;
    margin-top: 40px;
}

.related-links h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.related-links a {
    display: block;
    color: #667eea;
    text-decoration: none;
    padding: 8px 0;
}

.related-links a:hover {
    text-decoration: underline;
}

.cta-box {
    text-align: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 15px;
    padding: 40px;
    margin-top: 50px;
}

.cta-box h3 {
    margin-top: 0;
    font-size: 1.5rem;
}

.cta-box p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .guide-container h1 {
        font-size: 1.8rem;
    }
    .step {
        padding-left: 25px;
        padding-top: 70px;
    }
    .step::before {
        top: 20px;
        left: 25px;
    }
}

/* Guide Info Boxes */
.info-box {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
}

.info-box h4 {
    color: #667eea;
    margin-bottom: 10px;
}

.info-box p {
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.command-box {
    background: #0d1117;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 15px 20px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    margin: 20px 0;
    color: #58a6ff;
}

.dns-box {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.dns-box h4 {
    color: #2ecc71;
    margin-bottom: 10px;
}

.dns-box p {
    color: rgba(255,255,255,0.8);
    font-family: 'Courier New', monospace;
    margin: 5px 0;
}

.warning-box {
    background: rgba(241, 196, 15, 0.1);
    border: 1px solid rgba(241, 196, 15, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.warning-box h4 {
    color: #f1c40f;
    margin-bottom: 10px;
}

.warning-box p {
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.platform-section {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.platform-section h3 {
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.platform-icon {
    font-size: 1.5rem;
}

.christmas-box {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(46, 204, 113, 0.1) 100%);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
}

.christmas-box h4 {
    color: #e74c3c;
    margin-bottom: 10px;
}

.christmas-box h4::before {
    content: "🎄 ";
}

.christmas-box p {
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* Blog Article Pages */
.article-header {
    padding: 140px 20px 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.article-header h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

.back-link {
    display: inline-block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.back-link:hover {
    color: #fff;
}

.article-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    line-height: 1.7;
}

.article-content h2 {
    font-size: 1.6rem;
    margin: 40px 0 20px;
    color: #667eea;
}

.article-content h3 {
    font-size: 1.2rem;
    margin: 30px 0 15px;
}

.article-content p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin: 0 0 20px 25px;
    color: rgba(255,255,255,0.85);
}

.article-content li {
    margin-bottom: 8px;
}

.article-content strong {
    color: #fff;
}

.article-content code {
    background: rgba(102, 126, 234, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.pros, .cons {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 20px;
}

.pros h4 {
    color: #2ecc71;
    margin-bottom: 10px;
}

.cons h4 {
    color: #e74c3c;
    margin-bottom: 10px;
}

.pros ul, .cons ul {
    margin: 0;
    padding-left: 20px;
}

/* Blog Article CTA Box (override guide cta-box) */
.article-content .cta-box {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, rgba(39, 174, 96, 0.1) 100%);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.article-content .cta-box h3 {
    color: #2ecc71;
    margin-bottom: 10px;
}

.article-content .cta-box .btn-primary {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    padding: 12px 30px;
    font-size: 1rem;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9rem;
}

.comparison-table th,
.comparison-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.comparison-table th {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    font-weight: 600;
}

.comparison-table tr:hover {
    background: rgba(255,255,255,0.03);
}

.comparison-table td {
    color: rgba(255,255,255,0.8);
}

/* Blog Index Page */
.blog-hero {
    padding: 140px 20px 60px;
    text-align: center;
}

.blog-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.blog-hero h1 span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.blog-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    transition: transform 0.2s, border-color 0.2s;
    text-decoration: none;
    display: block;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-3px);
    border-color: rgba(102, 126, 234, 0.5);
}

.blog-card-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 12px;
}

.blog-card h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #fff;
}

.blog-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.blog-card-tag {
    display: inline-block;
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-top: 15px;
}

/* Provider Card (comparison articles) */
.provider-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
}

.provider-card.highlight {
    border-color: rgba(46, 204, 113, 0.5);
    background: rgba(46, 204, 113, 0.05);
}

.provider-card h3 {
    color: #fff;
    margin-bottom: 10px;
}

.provider-card .best-for {
    color: #667eea;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.pros-cons-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.pros-inline h4, .cons-inline h4 {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.pros-inline h4 { color: #2ecc71; }
.cons-inline h4 { color: #e74c3c; }

.pros-inline ul, .cons-inline ul {
    margin: 0;
    padding-left: 18px;
    font-size: 0.9rem;
}

/* Check/Cross indicators */
.check { color: #2ecc71; }
.cross { color: #e74c3c; }
.savings { color: #2ecc71; font-weight: 600; }

/* Highlight Stat Box */
.highlight-stat {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    margin: 25px 0;
}

.highlight-stat .big-number {
    font-size: 3rem;
    font-weight: 700;
    color: #e74c3c;
}

.highlight-stat p {
    margin-bottom: 0;
    color: rgba(255,255,255,0.7);
}

/* Usage Examples Grid */
.usage-examples {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.usage-box {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.usage-box h4 {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.usage-box .hours {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

/* Steps List (numbered) */
.steps-list {
    counter-reset: step-counter;
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.steps-list li {
    counter-increment: step-counter;
    padding: 15px 0 15px 50px;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.steps-list li:last-child {
    border-bottom: none;
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* FAQ Box */
.faq-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.faq-box h4 {
    margin-bottom: 10px;
}

.faq-box p {
    margin-bottom: 0;
    color: rgba(255,255,255,0.7);
}

/* Code Block (blog articles) */
.code-block {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.code-block code {
    color: #2ecc71;
}

.code-block .comment {
    color: rgba(255,255,255,0.4);
}

/* Tip Box */
.tip-box {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
}

.tip-box h4 {
    color: #2ecc71;
    margin-bottom: 10px;
}

/* Specs Box (CS2 article) */
.specs-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 25px 0;
}

.specs-box h4 {
    color: #667eea;
    margin-bottom: 15px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.specs-grid .spec {
    display: flex;
    justify-content: space-between;
}

.specs-grid .spec-label {
    color: rgba(255,255,255,0.6);
}

.specs-grid .spec-value {
    color: #fff;
    font-weight: 500;
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 1.8rem;
    }
    .pros-cons {
        grid-template-columns: 1fr;
    }
    .pros-cons-inline {
        grid-template-columns: 1fr;
    }
    .usage-examples {
        grid-template-columns: 1fr;
    }
    .blog-hero h1 {
        font-size: 2rem;
    }
    .blog-hero-subtitle {
        font-size: 1rem;
    }
    .comparison-table {
        font-size: 0.8rem;
    }
    .comparison-table th,
    .comparison-table td {
        padding: 8px 10px;
    }
    .code-block {
        font-size: 0.8rem;
        padding: 15px;
    }
    .specs-grid {
        grid-template-columns: 1fr;
    }
}
