:root {
    --primary-color: #64ffda;
    --bg-dark: #0a192f;
    --bg-darker: #051024;
    --text-primary: #ccd6f6;
    --text-secondary: #8892b0;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
}

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

/* Navbar */
.navbar {
    background-color: var(--bg-darker);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* More specific selectors for nav links */
.navbar .container.nav-container .nav-links  {
    display: flex;
    gap: 1rem;
    margin-left: auto;
}

/* Updated navbar link styles with higher specificity */
.navbar .container.nav-container .nav-links .nav-link {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid var(--primary-color);
    font-weight: 500;
    display: inline-block;
    margin: 0;
    background: transparent;
}

.navbar .nav-container .nav-links .nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

body .navbar .nav-container .nav-links {
    display: flex;
    gap: 1rem;
    margin-left: auto;
    align-items: center;
}

body .navbar .nav-container .nav-links .nav-link {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid var(--primary-color);
    font-weight: 500;
    display: inline-block;
    margin: 0;
    background: transparent;
}

body .navbar .nav-container .nav-links .nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

/* Reset and override any conflicting styles */
.nav-container .nav-links .nav-link,
.navbar .nav-container .nav-links .nav-link,
body .navbar .nav-container .nav-links .nav-link {
    all: unset;  /* Reset all properties */
    display: inline-block;
    color: #ccd6f6;
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid #64ffda;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Hover state */
.nav-container .nav-links .nav-link:hover,
.navbar .nav-container .nav-links .nav-link:hover,
body .navbar .nav-container .nav-links .nav-link:hover {
    background-color: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    transform: translateY(-2px);
}

.logo {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(to bottom, var(--bg-darker), var(--bg-dark));
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Stack content and image */
    align-items: center; /* Center horizontally */
    text-align: center; /* Center content within .hero */
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center; /* Center the text */
    max-width: 800px;
    margin: 0 auto 2rem; /* Add some space below the text */
    padding-right: 0; /* Remove padding */
}

.hero-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; /* Reduced from 100% */
    max-width: 800px; /* Add maximum width */
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: auto; /* Changed from 100% to auto */
    object-fit: contain; /* Changed from cover to contain */
    animation: floatBackground 20s linear infinite;
    filter: blur(2px);
}

@keyframes floatBackground {
    0% {
        transform: translate(-5%, -5%) rotate(-2deg);
    }
    50% {
        transform: translate(5%, 5%) rotate(2deg);
    }
    100% {
        transform: translate(-5%, -5%) rotate(-2deg);
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Download Section */
.download {
    padding: 4rem 0;
    background-color: var(--bg-darker);
}

.download h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.download-btn {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    text-decoration: none;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    min-width: 200px;
}

.download-btn:hover {
    transform: translateY(-5px);
    background-color: var(--primary-color);
    color: var(--bg-dark);
}

.download-btn i {
    font-size: 2rem;
}

.download-btn small {
    color: var(--text-secondary);
}

/* Features Section */
.features {
    padding: 4rem 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-card {
    background-color: var(--bg-darker);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Security Section */
.security {
    padding: 4rem 0;
    background-color: var(--bg-darker);
}

.security h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.security-item {
    text-align: center;
    padding: 2rem;
}

.security-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.security-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.security-item a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--bg-darker);
    padding: 2rem 0;
    text-align: center;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Scroll Button */
.scroll-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--bg-dark);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    margin-top: 2rem;
    font-weight: bold;
    transition: var(--transition);
}

.scroll-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.4);
}

.scroll-btn i {
    animation: bounce 2s infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 100%;
        max-width: 300px;
    }
}
