* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: #0f1925;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    padding: 1rem 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-favicon {
    height: 40px;
    width: 40px;
    object-fit: contain;
}

.logo h1 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #bbb;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a:focus {
    color: #fff;
    outline: 2px solid #2563eb;
    outline-offset: 4px;
}

.hero {
    background: #0f1925;
    color: #fff;
    padding: 80px 0;
    border-bottom: 1px solid #1a2332;
}

.trustpilot-banner {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-bottom: 1px solid #d1fae5;
    padding: 16px 0;
    position: relative;
}

.trustpilot-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.trustpilot-text {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    font-size: 0.95rem;
    color: #166534;
}

.star-icon {
    flex-shrink: 0;
}

.trustpilot-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-trustpilot {
    display: inline-block;
    background: #00b67a;
    color: white;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.btn-trustpilot:hover {
    background: #00934f;
}

.btn-dismiss {
    background: transparent;
    border: none;
    color: #166534;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.2s ease;
}

.btn-dismiss:hover {
    color: #15803d;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: #bbb;
    max-width: 700px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.demo-notice {
    margin-top: 12px;
    font-size: 12px;
    color: #F59E0B;
    font-weight: 400;
}

.btn-primary {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-primary:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.btn-demo {
    display: inline-block;
    background: transparent;
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    border: 2px solid #F59E0B;
}

.btn-demo:hover {
    background: #F59E0B;
    color: #0f1925;
}

.github-link {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
}

.github-link:hover {
    color: #555;
    text-decoration: underline;
}

.opensource-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.5rem;
    padding: 16px;
    background: #f0f4f8;
    border-left: 3px solid #2563eb;
    border-radius: 4px;
    font-size: 0.95rem;
}

.code-icon {
    width: 20px;
    height: 20px;
    color: #2563eb;
    flex-shrink: 0;
}

.github-link-inline {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.github-link-inline:hover {
    text-decoration: underline;
}

.about {
    padding: 60px 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #555;
}

.features {
    padding: 60px 0;
    background-color: #fff;
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 0;
    background: transparent;
    border: none;
}

.feature-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 2px;
}

.feature-icon i {
    color: #2563eb;
    width: 20px;
    height: 20px;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: #1a1a1a;
}

.feature-content p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.screenshots {
    padding: 60px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.screenshots h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.screenshot-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 2px;
    overflow: hidden;
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #ddd;
    max-width: 100%;
}

.screenshot-item p {
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.9rem;
    color: #666;
}

.download {
    padding: 60px 0;
    background-color: #fff;
}

.download h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
}

.download-box {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 2rem;
}

.download-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.download-subtitle {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.requirements {
    list-style: none;
    margin: 1.5rem 0;
    color: #555;
    font-size: 0.95rem;
}

.requirements li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.requirements li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2563eb;
}

.btn-download {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
}

.btn-download:hover {
    background: #1d4ed8;
}

.download-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
}

.install-instructions h4 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.install-instructions ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.install-instructions li {
    margin-bottom: 0.5rem;
    color: #555;
}

.security-note {
    background: #fff9e6;
    border-left: 3px solid #ffc107;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

footer {
    background: #0f1925;
    color: #999;
    padding: 3rem 0 2rem;
    border-top: 1px solid #1a2332;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: #fff;
}

.footer-trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.trust-badge-link {
    text-decoration: none;
}

.virustotal-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(57, 147, 221, 0.1);
    border: 2px solid #3993dd;
    border-radius: 8px;
    padding: 12px 20px;
}

.virustotal-logo {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.badge-secure-text {
    color: #3993dd;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.ssl-badge-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid #10B981;
    border-radius: 8px;
}

.ssl-badge-img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.ssl-text {
    color: #10B981;
    font-size: 14px;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid #1a2332;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
}

.security-verification {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 14px;
    flex-wrap: wrap;
}

.verified-badge {
    color: #10B981;
    font-weight: 600;
}

.verification-separator {
    color: #666;
}

.verification-link {
    color: #3B82F6;
    text-decoration: underline;
}

.verification-link:hover {
    color: #2563eb;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal:target {
    display: block;
}

.modal-content {
    background-color: #fff;
    margin: 50px auto;
    padding: 0;
    border: 1px solid #888;
    border-radius: 4px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow: auto;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.close {
    color: #666;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    line-height: 1;
}

.close:hover {
    color: #000;
}

.modal-body {
    padding: 2rem;
}

.modal-body h3 {
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.modal-body p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #555;
}

.modal-body ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
    color: #555;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0f1925;
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
        border-bottom: 1px solid #1a2332;
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .trustpilot-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .trustpilot-text {
        flex-direction: column;
        text-align: center;
        font-size: 0.9rem;
    }
    
    .trustpilot-actions {
        width: 100%;
        justify-content: center;
    }
    
    .hero-content h2 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary,
    .btn-demo {
        width: 100%;
        text-align: center;
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
    }

    .download-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .virustotal-badge {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .badge-secure-text {
        font-size: 14px;
    }
    
    .security-verification {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}
