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

:root {
    --bg: #050508;
    --card: #0f0f15;
    --purple: #a855f7;
    --cyan: #22d3ee;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --border: #1e1e2e;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.bg-glow {
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

header {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .name {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-text .fm {
    color: var(--cyan);
}

.logo-text .hosted {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--text);
}

.btn-invite {
    background: linear-gradient(135deg, var(--purple), #7c3aed);
    color: white !important;
    padding: 0.55rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
}

main {
    position: relative;
    z-index: 5;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.hero {
    text-align: center;
    padding: 5rem 0 4rem;
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 1.2rem;
}

.gradient {
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.85rem 1.8rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary {
    background: linear-gradient(135deg, var(--purple), #7c3aed);
    color: white;
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.35);
}

.btn.secondary {
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn.large {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

.features {
    padding: 3rem 0;
}

.features h2,
.commands h2,
.invite h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.8rem;
    transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
    border-color: var(--purple);
    transform: translateY(-4px);
}

.feature-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.commands {
    padding: 3rem 0;
}

.command-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.command {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.3rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.command code {
    font-family: 'Fira Code', 'Consolas', monospace;
    color: var(--cyan);
    font-size: 1.05rem;
    font-weight: 600;
}

.command p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.invite {
    text-align: center;
    padding: 4rem 0 2rem;
    background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.05));
    border-radius: 24px;
    margin-top: 2rem;
}

.invite p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.invite .note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.invite .note code {
    background: var(--card);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    color: var(--cyan);
}

footer {
    text-align: center;
    padding: 2.5rem 1rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.95rem;
}

footer strong {
    color: var(--purple);
}

footer .small {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Mobile */
@media (max-width: 700px) {
    header {
        flex-direction: column;
        gap: 1.2rem;
    }

    nav {
        gap: 1.2rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 2.4rem;
    }
}