/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #0a0a0a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid #333;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #00ff88;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.hero-content {
    text-align: center;
    z-index: 2;
    color: #e0e0e0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 0 20px #00ff88;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, #00ff88, #00cc66);
    color: #0a0a0a;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.5);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text fill="%2300ff88" font-size="20" y="50%">01010101</text></svg>') repeat;
    opacity: 0.05;
    z-index: 1;
    animation: matrix 20s linear infinite;
}

/* Sections */
section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background: #1a1a1a;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #00ff88;
    text-shadow: 0 0 10px #00ff88;
}

/* Privacy Section */
#privacy p {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: #00ff88;
    transform: translateY(-5px);
}

.feature i {
    font-size: 3rem;
    color: #00ff88;
    margin-bottom: 1rem;
}

.feature h3 {
    color: #00ff88;
    margin-bottom: 1rem;
}

/* Open Source Section */
#opensource p {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #333;
    text-align: center;
    transition: all 0.3s ease;
}

.tool-card:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: #00ff88;
    transform: translateY(-5px);
}

.tool-card i {
    font-size: 3rem;
    color: #00ff88;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.tool-card:hover i {
    transform: scale(1.1);
}

.tool-card h3 {
    color: #00ff88;
    margin-bottom: 1rem;
}

/* Sovereignty Section */
.sovereignty-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.point {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.point:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: #00ff88;
}

.point h3 {
    color: #00ff88;
    margin-bottom: 1rem;
}

/* Contact Section */
#contact {
    text-align: center;
    background: #0a0a0a;
}

#contact p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background: #000;
    color: #666;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #333;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1.1);
    }
    40% {
        transform: translateY(-10px) scale(1.1);
    }
    60% {
        transform: translateY(-5px) scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    nav {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        margin-top: 1rem;
    }

    nav ul li {
        margin-left: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features, .tools-grid, .sovereignty-points {
        grid-template-columns: 1fr;
    }
}