* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #000;
    background: #fff;
    min-height: 100vh;
}

.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 2rem;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #000;
    background: #f5f5f5;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
}

.page-header {
    margin-bottom: 4rem;
    border-bottom: 2px solid #000;
    padding-bottom: 2rem;
}

.page-number {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

h1 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #fff;
}

.content {
    font-size: 1.125rem;
    line-height: 1.7;
}

.intro-block {
    margin-bottom: 3rem;
}

.lead {
    font-size: 1.375rem;
    line-height: 1.6;
    font-weight: 400;
    color: #333;
}

.text-block {
    margin-bottom: 2.5rem;
}

.highlight-block {
    background: #f9f9f9;
    padding: 2rem;
    margin: 2.5rem 0;
    border-left: 4px solid #000;
}

.methods-list {
    list-style: none;
    padding-left: 0;
}

.methods-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.methods-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
}

.resource-block {
    background: #000;
    color: #fff;
    padding: 2rem;
    margin: 2.5rem 0;
}

.resource-block h3 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.mono {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', monospace;
    font-size: 0.9em;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2em 0.4em;
    border-radius: 3px;
}

.mono-link {
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', monospace;
    font-size: 0.9em;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mono-link:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.resource-block .mono {
    background: rgba(255, 255, 255, 0.2);
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.link-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 6px;
}

.link-section ul {
    list-style: none;
    padding: 0;
}

.link-section li {
    margin-bottom: 0.75rem;
}

.link-section a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 0.9rem;
}

.link-section a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.additional-links,
.additional-mirrors,
.security-links {
    margin: 3rem 0;
    background: #f8f8f8;
    padding: 2rem;
    border-left: 4px solid #666;
}

.onion-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.onion-list a:hover {
    color: #000;
    text-decoration: underline;
}

.mirror-item a,
.mirror-entry a,
.platform-entry a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mirror-item a:hover,
.mirror-entry a:hover,
.platform-entry a:hover {
    color: #000;
    text-decoration: underline;
}

.screenshot-block {
    margin: 3rem 0;
    text-align: center;
}

.screenshot {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.screenshot-caption {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
}

.divider {
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    margin: 4rem 0;
}

.protocols-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.protocol-card {
    border: 1px solid #e0e0e0;
    padding: 1.5rem;
    background: #fafafa;
}

.protocol-card h3 {
    margin-bottom: 0.75rem;
    color: #000;
}

.protocol-card p {
    font-size: 1rem;
    color: #666;
}

.example-block {
    background: #f0f0f0;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 3px solid #666;
}

.onion-info {
    background: #f5f5f5;
    padding: 2rem;
    margin: 2rem 0;
}

.onion-list {
    list-style: none;
    margin-top: 1rem;
}

.onion-list li {
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    color: #333;
}

.mirrors-grid {
    margin: 2rem 0;
}

.mirror-group {
    display: grid;
    gap: 1rem;
}

.mirror-item {
    background: #f8f8f8;
    padding: 1rem;
    border-left: 3px solid #ccc;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.9rem;
}

.access-note {
    background: #000;
    color: #fff;
    padding: 1rem;
    margin-top: 2rem;
    text-align: center;
}

.alt-solutions {
    margin-bottom: 3rem;
}

.solution-block {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.solution-block:last-child {
    border-bottom: none;
}

.mirrors-list,
.platforms-list {
    display: grid;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.mirror-entry,
.platform-entry {
    background: #f9f9f9;
    padding: 1rem 1.5rem;
    border-left: 2px solid #ddd;
    font-size: 0.95rem;
}

.security-rules {
    margin: 2rem 0;
}

.rule-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.rule-icon {
    font-size: 1.25rem;
    font-weight: bold;
    width: 1.5rem;
    text-align: center;
}

.rule-item:nth-child(odd) .rule-icon {
    color: #d32f2f;
}

.rule-item:nth-child(even) .rule-icon {
    color: #388e3c;
}

.test-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tool-card {
    background: #f8f8f8;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #e8e8e8;
}

.tool-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.tool-card p {
    font-size: 0.9rem;
    color: #666;
}

.check-note {
    font-style: italic;
    color: #666;
    text-align: center;
    margin-top: 1.5rem;
}

.final-advice {
    background: #f5f5f5;
    padding: 2rem;
    margin: 2rem 0;
}

.final-message {
    background: #000;
    color: #fff;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.final-message .mono-link {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

.final-message .mono-link:hover {
    background: rgba(255, 255, 255, 0.3);
}

.page-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #e0e0e0;
}

.prev-page,
.next-page,
.home-page {
    text-decoration: none;
    color: #000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border: 2px solid #000;
    background: #fff;
}

.prev-page:hover,
.next-page:hover,
.home-page:hover {
    background: #000;
    color: #fff;
}

.arrow {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.prev-page:hover .arrow {
    transform: translateX(-3px);
}

.next-page:hover .arrow {
    transform: translateX(3px);
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-content h3 {
    color: #fff;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', monospace;
    font-size: 0.9rem;
    text-align: center;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #666;
}

.footer-bottom p {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }
    
    .logo-img {
        height: 1.5rem;
    }
    
    .nav-links {
        gap: 0.75rem;
    }
    
    .nav-link {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .container {
        padding: 5rem 1rem 3rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .content {
        font-size: 1rem;
    }
    
    .lead {
        font-size: 1.25rem;
    }
    
    .protocols-grid {
        grid-template-columns: 1fr;
    }
    
    .test-tools {
        grid-template-columns: 1fr;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .page-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .screenshot {
        border-radius: 4px;
    }
    
    .footer-container {
        padding: 2rem 1rem 1rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .footer-content h3 {
        font-size: 1.25rem;
    }
} 