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

body, html {
    height: 100%;
    font-family: "JetBrains Mono", monospace;
    overflow-x: hidden;
    background-color: #0a0a0b;
}

.bgimg {
    min-height: 100vh;
    position: relative;
    background: linear-gradient(135deg, #0a0a0b 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #0a0a0b 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: white;
    overflow: hidden;
}

/* Animated background gradient */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Animated grid overlay */
.bgimg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    animation: gridFloat 20s linear infinite;
}

@keyframes gridFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* Floating particles */
.bgimg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(124, 58, 237, 0.4), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(16, 185, 129, 0.3), transparent),
        radial-gradient(1px 1px at 90% 40%, rgba(59, 130, 246, 0.4), transparent),
        radial-gradient(1px 1px at 60% 90%, rgba(139, 92, 246, 0.3), transparent),
        radial-gradient(2px 2px at 10% 80%, rgba(34, 197, 94, 0.2), transparent);
    background-size: 200% 200%, 300% 300%, 250% 250%, 400% 400%, 180% 180%;
    animation: particleFloat 25s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.6; }
    25% { transform: translate(-10px, -10px) rotate(90deg); opacity: 0.8; }
    50% { transform: translate(10px, -5px) rotate(180deg); opacity: 0.4; }
    75% { transform: translate(-5px, 10px) rotate(270deg); opacity: 0.7; }
}

.bottomleft {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    animation: fadeInUp 1s ease 2.5s both;
}

.middle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 90vw;
    width: 100%;
    padding: 2rem;
}

/* Typography with animations */
h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    margin: 0 0 1rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 50%, #06b6d4 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease 0.5s both;
    text-shadow: 0 0 30px rgba(167, 139, 250, 0.3);
}

.brand {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 700;
    margin: 0 0 2rem 0;
    background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 50%, #10b981 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease 0.8s both;
    position: relative;
}

.brand::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
    animation: fadeIn 1s ease 1.2s both;
}

.tagline {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    margin: 0 auto 3rem auto;
    max-width: 700px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
    animation: fadeInUp 1s ease 1.1s both;
}

/* Glassmorphism features container */
.features {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease 1.4s both;
}

.features ul {
    list-style: none;
    display: grid;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
}

.features li {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.4s ease;
    transform: translateY(20px);
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.features li:nth-child(1) { animation-delay: 1.6s; }
.features li:nth-child(2) { animation-delay: 1.8s; }
.features li:nth-child(3) { animation-delay: 2.0s; }

.features li:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 12px 48px rgba(139, 92, 246, 0.2);
}

.features li::before {
    content: "";
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #06b6d4);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.features li {
    padding-left: 3rem;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}

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

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Code styling */
code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.9em;
    color: #a78bfa;
    white-space: nowrap;
}

/* Responsive design */
@media (max-width: 480px) {
    .middle {
        padding: 1rem;
        max-width: 95vw;
    }
    
    .features li {
        padding: 1rem;
        padding-left: 2.5rem;
        font-size: 0.9rem;
    }
    
    .features li::before {
        left: 1rem;
        top: 1rem;
        width: 10px;
        height: 10px;
    }
    
    .bottomleft {
        bottom: 1rem;
        left: 1rem;
        font-size: 0.7rem;
    }
    
    code {
        white-space: normal;
        word-break: break-all;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .middle {
        padding: 1.5rem;
    }
    
    .features li {
        padding: 1.25rem;
        padding-left: 2.75rem;
        font-size: 0.95rem;
    }
    
    .bottomleft {
        bottom: 1.5rem;
        left: 1.5rem;
    }
}

@media (min-width: 768px) {
    .features ul {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .middle {
        padding: 3rem;
    }
}

@media (min-width: 1024px) {
    .features ul {
        gap: 2.5rem;
    }
}

/* Remove old unused styles */
hr {
    display: none;
}
