:root {
    --bg-primary: #1a1a1f;
    --bg-secondary: #242429;
    --bg-tertiary: #2d2d33;
    --text-primary: #f5f5f5;
    --text-secondary: #a8a8a8;
    --text-muted: #6b6b6b;
    --accent: #e8a838;
    --accent-hover: #f0b848;
    --accent-muted: rgba(232, 168, 56, 0.15);
    --border: #3a3a42;
    --success: #4a9a5a;
    --error: #c45050;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.container-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--accent);
    color: var(--bg-primary);
    padding: 12px 24px;
    z-index: 9999;
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
}
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.page-loader.show {
    opacity: 1;
    pointer-events: all;
}
.loader-ring {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(26, 26, 31, 0.95) 100%);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}
.logo-icon {
    font-size: 1.5rem;
    color: var(--accent);
}
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}
.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.burger-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}
.burger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.burger-btn.active span:nth-child(2) {
    opacity: 0;
}
.burger-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
    cursor: pointer;
}
.nav-link:hover, .nav-link.active {
    color: var(--accent);
}
.nav-dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    list-style: none;
    margin-top: 12px;
}
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.dropdown-menu li a:hover {
    background: var(--accent-muted);
    color: var(--accent);
}
.hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-muted) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}
.hero-text {
    max-width: 700px;
}
.hero h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
}
.intro-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}
.intro-content {
    max-width: 800px;
}
.intro-content h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}
.intro-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
}
.guides-section {
    padding: 80px 0;
}
.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 40px;
}
.guides-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
}
.guides-secondary {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.guide-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.guide-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}
.guide-featured {
    display: flex;
    flex-direction: column;
}
.guide-image {
    position: relative;
    overflow: hidden;
}
.guide-featured .guide-image {
    height: 280px;
}
.guides-secondary .guide-image {
    height: 160px;
}
.guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.guide-card:hover .guide-image img {
    transform: scale(1.05);
}
.image-credit {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-muted);
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
}
.guide-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.guide-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 12px;
}
.guide-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}
.guide-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
    flex-grow: 1;
}
.guide-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
.guide-link:hover {
    color: var(--accent-hover);
}
.trust-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}
.trust-content h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: var(--text-primary);
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.trust-item {
    padding: 32px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--border);
}
.trust-item h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
}
.trust-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.article-page {
    padding-bottom: 80px;
}
.article-header {
    padding: 60px 0 40px;
    background: var(--bg-secondary);
}
.back-link {
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 24px;
    transition: color 0.2s ease;
}
.back-link:hover {
    color: var(--accent);
}
.article-header h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}
.article-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', monospace;
}
.article-hero {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}
.article-hero img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: -40px;
}
.article-body {
    padding: 48px 0;
}
.article-intro {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 32px;
    line-height: 1.8;
}
.article-body h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 20px;
}
.article-body p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
}
.article-body ul {
    margin: 20px 0 20px 24px;
    color: var(--text-secondary);
}
.article-body li {
    margin-bottom: 8px;
}
.article-body a {
    color: var(--accent);
    text-decoration: none;
}
.article-body a:hover {
    text-decoration: underline;
}
.article-footer-nav {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.about-page, .contact-page, .policy-page {
    padding: 80px 0;
}
.page-header {
    margin-bottom: 48px;
}
.page-header h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.page-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}
.about-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 16px;
}
.about-text h2:first-child {
    margin-top: 0;
}
.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 1.05rem;
}
.about-text a {
    color: var(--accent);
    text-decoration: none;
}
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.contact-info h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}
.contact-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
}
.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 12px;
}
.contact-details {
    background: var(--bg-secondary);
    padding: 24px;
    border-radius: 12px;
    margin-top: 24px;
}
.contact-form {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: 12px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 8px;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.submit-btn {
    background: var(--accent);
    color: var(--bg-primary);
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.submit-btn:hover {
    background: var(--accent-hover);
}
.success-message, .error-message {
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
}
.success-message {
    background: rgba(74, 154, 90, 0.15);
    border: 1px solid var(--success);
}
.success-message h3 {
    color: var(--success);
    margin-bottom: 8px;
}
.error-message {
    background: rgba(196, 80, 80, 0.15);
    border: 1px solid var(--error);
    color: var(--error);
}
.policy-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 16px;
}
.policy-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
}
.policy-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.policy-content ul {
    margin: 16px 0 16px 24px;
    color: var(--text-secondary);
}
.policy-content li {
    margin-bottom: 8px;
}
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 64px 0 24px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: block;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.footer-col h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 16px;
}
.footer-col ul {
    list-style: none;
}
.footer-col li {
    margin-bottom: 10px;
}
.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
.footer-col a:hover {
    color: var(--accent);
}
.footer-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}
.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 20px;
    z-index: 9000;
    display: none;
}
.cookie-banner.show {
    display: block;
}
.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.cookie-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.cookie-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}
.cookie-btn.accept {
    background: var(--accent);
    color: var(--bg-primary);
}
.cookie-btn.accept:hover {
    background: var(--accent-hover);
}
.cookie-btn.reject, .cookie-btn.settings {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.cookie-btn.reject:hover, .cookie-btn.settings:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}
.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9500;
}
.cookie-modal.show {
    display: flex;
}
.modal-inner {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: 12px;
    max-width: 480px;
    width: 90%;
}
.modal-inner h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}
.cookie-option {
    margin-bottom: 20px;
}
.cookie-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
}
.cookie-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}
.cookie-option p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 6px;
    margin-left: 28px;
}
.modal-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}
@media (max-width: 968px) {
    .guides-grid {
        grid-template-columns: 1fr;
    }
    .trust-grid {
        grid-template-columns: 1fr;
    }
    .contact-content {
        grid-template-columns: 1fr;
    }
    .footer-main {
        grid-template-columns: 1fr;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .burger-btn {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .main-nav .nav-list {
        flex-direction: column;
        gap: 0;
    }
    .main-nav .nav-list li {
        width: 100%;
    }
    .nav-link {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }
    .nav-dropdown .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        padding: 0 0 0 16px;
        margin-top: 0;
    }
    .dropdown-menu li a {
        padding: 10px 0;
        border-bottom: 1px solid var(--border);
    }
    .hero {
        padding: 60px 0;
    }
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
