:root {
    --primary-black: #000000;
    --dark-gray: #0a0a0a;
    --medium-gray: #1a1a1a;
    --light-gray: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --accent-orange: #ff6b00;
    --accent-red: #ff2a00;
    --accent-yellow: #ffb000;
    --gradient-primary: linear-gradient(90deg, var(--accent-yellow), var(--accent-orange), var(--accent-red));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--primary-black);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, .logo, .nav-links a, .btn, code, pre {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
}

.lines-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    opacity: 0.4;
}

.line {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: 10px;
    filter: blur(1px);
}

.line-1 {
    width: 300px;
    height: 3px;
    top: 20%;
    left: -300px;
    animation: moveRight 25s linear infinite;
    opacity: 0.7;
}

.line-2 {
    width: 400px;
    height: 2px;
    top: 40%;
    right: -400px;
    animation: moveLeft 30s linear infinite 2s;
    opacity: 0.6;
}

.line-3 {
    width: 250px;
    height: 4px;
    bottom: 30%;
    left: -250px;
    animation: moveRight 20s linear infinite 4s;
    opacity: 0.8;
}

.line-4 {
    width: 350px;
    height: 3px;
    bottom: 20%;
    right: -350px;
    animation: moveLeft 35s linear infinite 1s;
    opacity: 0.5;
}

.line-5 {
    width: 200px;
    height: 2px;
    top: 60%;
    left: -200px;
    animation: moveRight 40s linear infinite 3s;
    opacity: 0.6;
}

@keyframes moveRight {
    0% { transform: translateX(0) rotate(0deg); }
    100% { transform: translateX(calc(100vw + 300px)) rotate(360deg); }
}

@keyframes moveLeft {
    0% { transform: translateX(0) rotate(0deg); }
    100% { transform: translateX(calc(-100vw - 300px)) rotate(-360deg); }
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 5%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 107, 0, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 1rem 5%;
    background-color: rgba(0, 0, 0, 0.95);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
}

.btn-outline {
    border: 1px solid var(--light-gray);
    color: var(--text-primary);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    transform: translateY(-2px);
}

.btn-gradient {
    background: var(--gradient-primary);
    color: var(--primary-black);
    font-weight: 700;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1rem;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-orange);
    border: 1px solid rgba(255, 107, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.terminal-container {
    width: 500px;
    height: 350px;
    background: var(--medium-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 107, 0, 0.2);
    position: relative;
}

.terminal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: var(--dark-gray);
    border-bottom: 1px solid rgba(255, 107, 0, 0.1);
}

.terminal-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    z-index: 2;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-button:nth-child(1) { background: #ff5f56; }
.terminal-button:nth-child(2) { background: #ffbd2e; }
.terminal-button:nth-child(3) { background: #27ca3f; }

.terminal {
    padding: 2.5rem 1.5rem 1.5rem;
    height: 100%;
    overflow: hidden;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.5;
}

.terminal-line {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.terminal-prompt {
    color: var(--accent-orange);
    margin-right: 0.5rem;
}

.terminal-command {
    color: var(--text-primary);
}

.terminal-output {
    color: var(--text-secondary);
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background-color: var(--accent-orange);
    animation: blink 1s infinite;
    margin-left: 2px;
}

.section {
    padding: 8rem 5%;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.releases {
    background: var(--dark-gray);
}

.releases-content {
    max-width: 1200px;
    margin: 0 auto;
}

.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.release-card {
    background: var(--medium-gray);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 0, 0.1);
}

.release-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.1);
}

.release-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.release-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--gradient-primary);
    color: var(--primary-black);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
}

.release-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.release-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.release-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.release-assets {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.asset-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--dark-gray);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 0, 0.1);
}

.asset-link:hover {
    background: rgba(255, 107, 0, 0.1);
    border-color: rgba(255, 107, 0, 0.3);
    transform: translateX(5px);
}

.asset-name {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.asset-size {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.github-cta {
    text-align: center;
    margin-top: 4rem;
}

footer {
    background: var(--dark-gray);
    color: var(--text-secondary);
    padding: 4rem 5% 2rem;
    border-top: 1px solid rgba(255, 107, 0, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-about {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: var(--medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 0, 0.1);
}

.social-links a:hover {
    background: rgba(255, 107, 0, 0.1);
    color: var(--accent-orange);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@media (max-width: 1100px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-text {
        max-width: 100%;
        margin-bottom: 3rem;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .terminal-container {
        width: 100%;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .releases-grid {
        grid-template-columns: 1fr;
    }
    
    .release-card {
        padding: 1.5rem;
    }
}
