/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #666666;
    --accent-cyan: #00ffff;
    --accent-green: #00ff88;
    --accent-purple: #8b5cf6;
    --border-color: #333333;
    --shadow-glow: 0 0 20px rgba(0, 255, 255, 0.3);
    --shadow-green: 0 0 20px rgba(0, 255, 136, 0.3);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation - Enhanced Mobile Version */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    z-index: 1001;
}


.logo-icon {
    width: 32px;
    height: 32px;
    background-image: url('logo.png'); /* Replace 'logo.png' with your actual filename */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 10px;
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.3)); /* Optional: adds glow effect */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--accent-cyan);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn:hover .hamburger-line {
    background: var(--accent-green);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation Menu */
.nav-menu-overlay {
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    min-height: 44px; /* Touch-friendly minimum */
    display: flex;
    align-items: center;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-cyan);
    background: rgba(0, 255, 255, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 2rem;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        min-height: 50px;
        border-radius: 10px;
        background: rgba(26, 26, 26, 0.8);
        border: 1px solid var(--border-color);
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(0, 255, 255, 0.2);
        border-color: var(--accent-cyan);
        transform: translateY(-2px);
        box-shadow: var(--shadow-glow);
    }
}

/* Additional Mobile Improvements */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo {
        font-size: 1.3rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .download-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card,
    .step-card {
        padding: 1.5rem;
    }
    
    .content-card {
        padding: 2rem;
    }
}

/* Touch and Focus Improvements */
@media (hover: none) {
    .nav-link:hover {
        background: rgba(0, 255, 255, 0.1);
    }
    
    .btn:hover {
        transform: none;
    }
    
    .feature-card:hover {
        transform: none;
    }
}

/* Focus styles for accessibility */
.mobile-menu-btn:focus,
.nav-link:focus,
.btn:focus {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.neon-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.neon-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.neon-circle.cyan {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-cyan), transparent);
    top: 20%;
    right: 10%;
    animation-delay: -2s;
}

.neon-circle.green {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-green), transparent);
    bottom: 30%;
    left: 15%;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

.subtitle {
    font-size: 2rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.highlight {
    color: var(--accent-green);
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
    color: var(--bg-primary);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(0, 255, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
}

.btn-secondary:hover {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    box-shadow: var(--shadow-glow);
}

/* Status Section */
.status-section {
    padding: 2rem 0;
    background: var(--bg-secondary);
}

.status-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.status-icon {
    font-size: 2rem;
    margin-top: 0.5rem;
}

.status-content h3 {
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.status-content p {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.inline-link {
    color: var(--accent-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.inline-link:hover {
    color: var(--accent-cyan);
}

.security-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.feature-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

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

/* Page Styles */
.page-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
}

/* Download Page Styles */
.download-hero {
    padding: 3rem 0;
    text-align: center;
}

.download-section {
    padding: 2rem 0 4rem;
}

.download-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.download-info h2 {
    color: var(--accent-cyan);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.version-info {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.download-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.check-icon {
    color: var(--accent-green);
    font-weight: bold;
}

.download-btn {
    font-size: 1.1rem;
    padding: 1.2rem 2rem;
}

.security-info {
    text-align: center;
}

.security-badge {
    background: var(--bg-tertiary);
    border: 1px solid var(--accent-green);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.shield-icon {
    font-size: 3rem;
}

.security-text h4 {
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

/* Installation Guide */
.installation-guide {
    margin-bottom: 3rem;
}

.installation-guide h3 {
    color: var(--accent-cyan);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.step-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step-card h4 {
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

/* Notice Card */
.notice-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--accent-green);
    border-radius: 12px;
    padding: 2rem;
}

.notice-card h4 {
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.notice-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Content Pages */
.content-section {
    padding: 3rem 0;
}

.content-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 2rem;
}

.content-card h2 {
    color: var(--accent-cyan);
    margin-bottom: 2rem;
}

.content-card h3 {
    color: var(--accent-green);
    margin: 2rem 0 1rem;
}

.content-card ul {
    margin-left: 2rem;
    color: var(--text-secondary);
}

.content-card li {
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
}

.footer-content p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-link {
    color: var(--accent-cyan);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--accent-green);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}
