/* Guide Pages Styles */

body.guide-page {
    background-color: #0a0a0f;
    color: #e0e0e0;
    font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
}

/* Container */
.guide-container {
    max-width: 820px;
    margin: 60px auto;
    padding: 2.5rem;
    background: rgba(10, 10, 15, 0.85);
    border: 1px solid rgba(0, 242, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

/* Topbar (breadcrumb + lang selector) */
.guide-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.guide-lang-selector {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.guide-lang-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 0.3rem 0.55rem;
    font-family: 'Syne', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.guide-lang-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.guide-lang-btn.active {
    color: #fff;
    border-color: rgba(0, 242, 255, 0.5);
    background: rgba(0, 242, 255, 0.08);
}

/* Breadcrumb */
.guide-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0;
    flex-wrap: wrap;
}

.guide-breadcrumb a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.3s ease;
}

.guide-breadcrumb a:hover {
    color: #00f2ff;
}

.guide-breadcrumb .separator {
    color: rgba(255, 255, 255, 0.25);
}

.guide-breadcrumb .current {
    color: rgba(255, 255, 255, 0.7);
}

/* Back link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #00f2ff;
}

/* Header */
.guide-header {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(0, 242, 255, 0.1);
    padding-bottom: 2rem;
}

.guide-header h1 {
    font-family: 'Syne', sans-serif;
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.guide-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

.guide-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Article content */
.guide-content h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #00f2ff;
}

.guide-content h3 {
    color: #fff;
    font-size: 1.15rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.guide-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.guide-content ul,
.guide-content ol {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
}

.guide-content li {
    margin-bottom: 0.5rem;
}

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

.guide-content a {
    color: #00f2ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.guide-content a:hover {
    color: #a35bff;
}

.guide-content blockquote {
    border-left: 3px solid #00f2ff;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: rgba(0, 242, 255, 0.04);
    border-radius: 0 8px 8px 0;
    color: rgba(255, 255, 255, 0.75);
    font-style: italic;
}

.guide-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.guide-content th,
.guide-content td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
}

.guide-content th {
    color: #00f2ff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Highlight box */
.guide-highlight {
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.guide-highlight h4 {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    color: #00f2ff;
    margin-bottom: 0.75rem;
}

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

/* CTA Section */
.guide-cta {
    margin-top: 3rem;
    padding: 2.5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.06) 0%, rgba(112, 0, 255, 0.06) 100%);
    border: 1px solid rgba(0, 242, 255, 0.15);
    border-radius: 16px;
}

.guide-cta h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.guide-cta p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.guide-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2.2rem;
    background: rgba(0, 242, 255, 0.08);
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(0, 242, 255, 0.35);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.guide-cta-btn:hover {
    border-color: #00f2ff;
    background: rgba(0, 242, 255, 0.12);
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.15);
    transform: translateY(-2px);
    color: #fff;
}

/* Listing page */
.guides-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.guide-card {
    display: block;
    padding: 1.8rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.guide-card:hover {
    border-color: rgba(0, 242, 255, 0.3);
    background: rgba(0, 242, 255, 0.03);
    transform: translateY(-2px);
}

.guide-card h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 0.6rem;
    margin-top: 0;
}

.guide-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.guide-card-meta {
    font-size: 0.8rem;
    color: rgba(0, 242, 255, 0.6);
}

/* Listing header */
.guides-listing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 242, 255, 0.1);
}

.guides-listing-header h1 {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #fff 0%, #a5a5a5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.guides-listing-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto;
}

/* Country Toggle */
.country-toggle {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.country-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.country-btn:hover {
    border-color: rgba(0, 242, 255, 0.4);
    color: rgba(255, 255, 255, 0.85);
    background: rgba(0, 242, 255, 0.05);
}

.country-btn.active {
    border-color: rgba(0, 242, 255, 0.5);
    color: #fff;
    background: rgba(0, 242, 255, 0.08);
    box-shadow: 0 0 12px rgba(0, 242, 255, 0.1);
}

.country-flag {
    font-size: 1.15rem;
    line-height: 1;
}

[data-country] {
    transition: opacity 0.3s ease;
}

[data-country].country-hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .guide-container {
        margin: 30px 1rem;
        padding: 1.5rem;
    }

    .guide-header h1 {
        font-size: 1.6rem;
    }

    .guides-listing-header h1 {
        font-size: 1.8rem;
    }

    .guide-content h2 {
        font-size: 1.2rem;
    }

    .guide-cta {
        padding: 1.5rem;
    }

    .guide-meta {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .guide-topbar {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .country-toggle {
        flex-direction: column;
    }

    .country-btn {
        justify-content: center;
    }
}
