:root {
    --neon-blue: #00f3ff;
    --neon-pink: #ff00ff;
    --bg-black: #050505;
    --card-bg: rgba(20, 20, 25, 0.8);
    --border-glow: rgba(0, 243, 255, 0.3);
}

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

body {
    background-color: var(--bg-black);
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(0, 243, 255, 0.05) 0%, transparent 70%),
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 100%, 100% 2px, 3px 100%;
}

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

header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 10px;
    color: var(--neon-blue);
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.5), 0 0 40px rgba(0, 243, 255, 0.2);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 4px;
    text-transform: uppercase;
}

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

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
    border-radius: 15px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
    backdrop-filter: blur(10px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.15);
}

.card:hover::before {
    transform: translateX(100%);
}

.card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--neon-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--neon-blue);
}

.card-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 30px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tag {
    background: rgba(0, 243, 255, 0.1);
    color: var(--neon-blue);
    padding: 5px 15px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid var(--neon-blue);
}

.btn-launch {
    color: var(--neon-blue);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-launch svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.card:hover .btn-launch svg {
    transform: translateX(5px);
}

/* Ambient animation */
.scanline {
    width: 100%;
    height: 100px;
    z-index: 9999;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 243, 255, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
    opacity: 0.1;
    position: fixed;
    bottom: 100%;
    pointer-events: none;
    animation: scanline 10s linear infinite;
}

@keyframes scanline {
    0% { top: -100px; }
    100% { top: 100%; }
}

/* Smaller cards section */
.secondary-section {
    margin-top: 100px;
}

.secondary-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--neon-pink);
    text-transform: uppercase;
    letter-spacing: 5px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.secondary-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--neon-pink), transparent);
}

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

.s-card {
    background: rgba(20, 20, 25, 0.4);
    border: 1px solid rgba(255, 0, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.s-card:hover {
    border-color: var(--neon-pink);
    background: rgba(255, 0, 255, 0.05);
    transform: translateX(10px);
}

.s-card-title {
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
}

.s-card-tag {
    font-size: 0.7rem;
    color: var(--neon-pink);
    border: 1px solid var(--neon-pink);
    padding: 2px 8px;
    border-radius: 4px;
}
