:root {
    --brand-cyan: #00f3ff;
    --brand-purple: #bc13fe;
    --brand-midnight: #050510;
    
    --primary: var(--brand-cyan);
    --secondary: var(--brand-purple);
    --bg: var(--brand-midnight);
    --text: #ffffff;
    --border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', 'Outfit', sans-serif;
    background-color: var(--bg);
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(0, 243, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(188, 19, 254, 0.05) 0%, transparent 50%);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 10%;
    position: absolute;
    width: 100%;
    z-index: 50;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary);
}

.links a {
    text-decoration: none;
    color: var(--text);
    margin-left: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.links a:hover {
    opacity: 1;
}

.btn-git {
    background: var(--primary);
    color: #000 !important;
    padding: 0.8rem 1.5rem;
    border-radius: 0;
    font-weight: 900;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

header {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8%;
    position: relative;
    overflow: hidden;
    gap: 60px;
}

header::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--secondary-glow), transparent 70%);
    filter: blur(120px);
    z-index: -1;
    opacity: 0.3;
}

header::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    filter: blur(120px);
    z-index: -1;
    opacity: 0.3;
}

.hero {
    flex: 1.2;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-glow);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: 5rem;
    line-height: 0.95;
    margin-bottom: 32px;
    font-weight: 900;
    letter-spacing: -3px;
    text-transform: uppercase;
}

.hero h1 span {
    display: block;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 48px;
    font-weight: 500;
}

.hero-btns {
    display: flex;
    gap: 24px;
}

.btn-primary {
    padding: 18px 40px;
    background: var(--primary-color);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px var(--primary-glow);
    background: #ffffff;
}

.btn-secondary {
    padding: 18px 40px;
    background: transparent;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #ffffff;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 2000px;
    position: relative;
}

.mascot-container {
    position: absolute;
    top: -60px;
    right: 20px;
    z-index: 10;
}

.floating-larva {
    width: 180px;
    height: 180px;
    object-fit: contain;
    animation: float-larva 5s infinite ease-in-out;
    filter: drop-shadow(0 0 20px var(--primary-glow));
}

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

@keyframes float {
    0%, 100% { transform: translateY(0) rotateY(-10deg) rotateX(10deg); }
    50% { transform: translateY(-20px) rotateY(-5deg) rotateX(5deg); }
}

.glass-mockup {
    width: 100%;
    max-width: 480px;
    height: 520px;
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    animation: float 8s infinite ease-in-out;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--glass-border);
}

.mockup-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.msg {
    padding: 16px 24px;
    border-radius: 4px;
    max-width: 85%;
    font-size: 0.95rem;
    font-weight: 600;
}

.msg.sent {
    background: var(--primary-color);
    color: var(--bg-dark);
    align-self: flex-end;
    box-shadow: 0 0 15px var(--primary-glow);
}

.msg.received {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    align-self: flex-start;
    border: 1px solid var(--glass-border);
}

/* Features */
.features {
    padding: 120px 8%;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.section-header h2 span {
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-glow);
}

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

.card {
    padding: 48px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
    transform: translateY(-16px);
    background: rgba(0, 243, 255, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 243, 255, 0.1);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 32px;
}

.card h3 {
    margin-bottom: 20px;
    font-size: 1.6rem;
    text-transform: uppercase;
    font-weight: 900;
    color: var(--primary-color);
}

.card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

/* Downloads */
.usage {
    padding: 120px 8%;
    background: rgba(5, 5, 16, 0.6);
    border-top: 1px solid var(--glass-border);
}

.usage h2 {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 80px;
    font-weight: 900;
    text-transform: uppercase;
}

.usage h2 span {
    color: var(--primary-color);
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.download-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.download-card:hover {
    background: #ffffff;
    color: var(--bg-dark);
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.os-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.download-card h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 900;
}

.download-card span {
    font-size: 0.8rem;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    margin-top: 40px;
}

.step {
    text-align: center;
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: transparent;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 900;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    margin: 0 auto 32px;
    box-shadow: 0 0 20px var(--primary-glow);
}

.step h4 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 900;
    text-transform: uppercase;
}

.step p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Footer */
footer {
    padding: 100px 8% 60px;
    border-top: 1px solid var(--glass-border);
    background: #000000;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

footer p {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

.linux-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.linux-btn {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.linux-btn:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px var(--primary-glow);
}

.download-card.linux-card:hover {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-light);
    transform: none;
    box-shadow: none;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero h1 { font-size: 4rem; }
    header { height: auto; padding: 160px 8% 100px; flex-direction: column; text-align: center; }
    .hero p { margin: 0 auto 48px; }
    .hero-btns { justify-content: center; }
    .hero-image { width: 100%; max-width: 500px; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .hero-btns { flex-direction: column; }
    .links { display: none; }
    .features, .usage { padding: 80px 5%; }
}
