* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #5865f2;
    --secondary: #2b2d31;
    --success: #3ba55d;
    --error: #ed4245;
    --warning: #faa81a;
    --bg-dark: #1e1f22;
    --bg-darker: #111214;
    --text: #ffffff;
    --text-muted: #b5bac1;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-darker);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: var(--secondary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.btn-support, .btn-invite {
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
}

.btn-support {
    background: var(--warning);
    color: var(--bg-dark);
}

.btn-invite {
    background: var(--primary);
    color: var(--text);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--secondary) 100%);
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--success));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(88, 101, 242, 0.4);
}

.btn-primary {
    background: var(--primary);
    color: var(--text);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text);
    border: 2px solid var(--primary);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--secondary);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.feature-card p {
    color: var(--text-muted);
}

/* Commands Section */
.commands {
    padding: 6rem 0;
    background: var(--bg-darker);
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.command-category {
    background: var(--secondary);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.command-category h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.command-category ul {
    list-style: none;
}

.command-category li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.command-category li:last-child {
    border-bottom: none;
}

/* Footer */
.footer {
    background: var(--secondary);
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        padding: 1rem 0;
    }

    .nav-brand {
        width: 100%;
        justify-content: center;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .logo, .logo-placeholder {
        width: 35px;
        height: 35px;
    }
    
    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat h3 {
        font-size: 1.8rem;
    }

    .stat p {
        font-size: 0.9rem;
    }

    .features-grid,
    .commands-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card,
    .command-category {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .policy-content {
        padding: 1.5rem;
    }

    .policy-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* Policy Pages */
.policy-section {
    padding: 4rem 0;
    background: var(--bg-dark);
    min-height: 80vh;
}

.policy-title {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.policy-updated {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-style: italic;
}

.policy-content {
    background: var(--secondary);
    padding: 3rem;
    border-radius: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.policy-content h2 {
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.policy-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.policy-content li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.policy-content a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.policy-content a:hover {
    color: var(--success);
    text-decoration: underline;
}

/* Logo Placeholder */
.logo-placeholder {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--success));
    border-radius: 50%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s;
}

.mobile-menu-toggle:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .navbar .container {
        position: relative;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }

    .nav-menu.active {
        display: flex;
        max-height: 500px;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
    }

    .btn-support, .btn-invite {
        margin: 0.5rem 1rem;
        display: block;
    }
}
