:root {
    --bg-main: #0a0a0b;
    --bg-secondary: #111113;
    --card-bg: #161618;
    --border-color: #27272a;
    --accent: #7c3aed;
    --accent-glow: rgba(124, 58, 237, 0.25);
    --text-main: #ffffff;
    --text-secondary: #a1a1aa;
    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

.grid-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    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: 50px 50px;
    z-index: -1;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
}

nav {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
}

.links a:hover { color: var(--text-main); }

.discord-btn {
    background: #1e1e20;
    border: 1px solid var(--border-color);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.discord-btn:hover {
    background: #5e5efa;
    border-color: #2e2e74;
}

.hero-container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 50px;
    min-height: 60vh;
}

.hero-text { flex: 1; }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #18181b;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 10px var(--accent); }

h1 {
    font-family: var(--font-head);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p { color: var(--text-secondary); margin-bottom: 30px; font-size: 1.1rem; max-width: 500px; }

.buttons { display: flex; gap: 15px; margin-bottom: 40px; }

.btn-primary {
    background: var(--text-main);
    color: black;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover { background: #d4d4d4; transform: translateY(-2px); }

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-outline:hover { border-color: var(--text-main); }

.stats { display: flex; gap: 40px; border-top: 1px solid var(--border-color); padding-top: 20px; }
.stat-box { display: flex; flex-direction: column; }
.stat-num { font-weight: 700; font-family: var(--font-head); font-size: 1.2rem; }
.stat-desc { font-size: 0.8rem; color: var(--text-secondary); }

.hero-visual { flex: 1; display: flex; justify-content: center; perspective: 1000px; }

.glass-card {
    background: linear-gradient(145deg, #1a1a1d, #111113);
    border: 1px solid var(--border-color);
    width: 400px;
    padding: 20px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.1s ease-out;
}

.card-header { margin-bottom: 15px; color: var(--text-secondary); font-size: 0.9rem; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; }
.code-preview { font-family: 'Consolas', monospace; font-size: 0.9rem; line-height: 1.6; }
.c-purple { color: #a78bfa; }
.c-gray { color: #52525b; }
.c-comment { color: #3f3f46; font-style: italic; }

.card-decoration {
    position: absolute;
    top: 20px; right: 20px;
    width: 40px; height: 40px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
}

section { max-width: 1200px; margin: 100px auto; padding: 0 20px; }
.section-header { font-family: var(--font-head); font-size: 2rem; margin-bottom: 50px; text-align: left; }
.accent { color: var(--accent); }

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.product-card:hover::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(124, 58, 237, 0.06), transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.icon-box { font-size: 1.5rem; color: var(--text-main); margin-bottom: 20px; background: #202022; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.product-card h3 { font-family: var(--font-head); margin-bottom: 10px; }
.tags { margin-top: 20px; display: flex; gap: 10px; }
.tags span { font-size: 0.75rem; background: #202022; padding: 4px 8px; border-radius: 4px; color: var(--text-secondary); }

.banner {
    background: #111113;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: -50%; left: -20%;
    width: 600px; height: 600px;
    background: var(--accent);
    filter: blur(150px);
    opacity: 0.1;
    z-index: 0;
}

.banner-content { position: relative; z-index: 1; max-width: 600px; }
.coming-soon { background: var(--accent); color: white; font-size: 0.7rem; padding: 3px 8px; border-radius: 4px; vertical-align: middle; margin-left: 10px; }
.btn-disabled { background: #27272a; color: #71717a; padding: 10px 20px; border-radius: 6px; text-decoration: none; cursor: not-allowed; display: inline-block; margin-top: 20px; }
.big-icon { font-size: 8rem; color: #1c1c1f; transform: rotate(-15deg); }

footer { text-align: center; color: var(--text-secondary); padding: 50px 0; border-top: 1px solid var(--border-color); margin-top: 80px; font-size: 0.9rem; }

@media (max-width: 768px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-visual { width: 100%; display: none; }
    .buttons { justify-content: center; }
    .stats { justify-content: center; }
    .links { display: none; }
    .banner { flex-direction: column; text-align: center; }
    .big-icon { display: none; }
}