/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #5865F2;
    --secondary-color: #EB459E;
    --background: #0a0e27;
    --surface: #1a1f3a;
    --text-primary: #ffffff;
    --text-secondary: #b9bbbe;
    --accent: #00d9ff;
    --success: #43b581;
    --gradient: linear-gradient(135deg, #5865F2 0%, #EB459E 100%);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    overflow: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-brand i {
    color: var(--primary-color);
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-invite {
    background: var(--gradient);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-invite:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(88, 101, 242, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 150px 20px 100px;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.2) 0%, transparent 70%);
    top: -250px;
    right: -250px;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent);
}

.stat-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    overflow: visible;
}

.bot-avatar {
    width: 300px;
    height: 300px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 150px;
    box-shadow: 0 20px 60px rgba(88, 101, 242, 0.5);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating-card {
    position: absolute;
    background: var(--surface);
    padding: 0.8rem 1.2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 4s ease-in-out infinite;
    white-space: nowrap;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--accent);
}

.card-1 {
    top: 5%;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30%;
    right: 0;
    animation-delay: 0.5s;
}

.card-3 {
    top: 50%;
    left: -5%;
    animation-delay: 1s;
}

/* Features Section */
.features {
    padding: 100px 20px;
    background: var(--background);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(88, 101, 242, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.feature-list i {
    color: var(--success);
    margin-right: 0.5rem;
}

/* Commands Section */
.commands {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1a1f3a 0%, #0a0e27 100%);
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.command-category {
    background: linear-gradient(145deg, rgba(30, 35, 60, 0.9), rgba(20, 25, 45, 0.9));
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(88, 101, 242, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.command-category.featured {
    border: 2px solid rgba(88, 101, 242, 0.4);
    background: linear-gradient(145deg, rgba(40, 45, 80, 0.95), rgba(30, 35, 65, 0.95));
}

.command-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.command-category:hover {
    transform: translateY(-5px);
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 15px 50px rgba(88, 101, 242, 0.2);
}

.command-category:hover::before {
    opacity: 1;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.category-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
    background: rgba(88, 101, 242, 0.1);
    padding: 0.8rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.command-category:hover .category-header i {
    transform: scale(1.1) rotate(5deg);
    background: rgba(88, 101, 242, 0.2);
}

.category-header div {
    flex: 1;
}

.category-header h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 0 0 0.3rem 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.command-count {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.command-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
}

.command-list.compact {
    grid-template-columns: repeat(2, 1fr);
}

.command {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.15), rgba(88, 101, 242, 0.05));
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--accent);
    border: 1px solid rgba(88, 101, 242, 0.2);
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: center;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    justify-content: center;
}

.command:hover {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.3), rgba(88, 101, 242, 0.15));
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
    color: #fff;
}

.command:active {
    transform: translateY(0);
}

.command-note {
    margin-top: 3rem;
    text-align: center;
    background: var(--surface);
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.command-note i {
    font-size: 2rem;
    color: var(--accent);
}

.command-note code {
    background: rgba(88, 101, 242, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    color: var(--accent);
}

/* Stats Section */
.stats-section {
    padding: 100px 20px;
    background: var(--background);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-box {
    background: var(--surface);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.stat-box:hover {
    transform: scale(1.05);
}

.stat-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-box h3 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-box p {
    color: var(--text-secondary);
}

/* Support Section */
.support {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1a1f3a 0%, #0a0e27 100%);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.support-card {
    background: var(--surface);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.support-card i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.support-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.support-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Footer */
.footer {
    background: var(--surface);
    padding: 3rem 20px 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

/* Responsive Design */

/* Tablet and Medium Screens */
@media (max-width: 1024px) and (min-width: 769px) {
    .commands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .command-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile and Small Screens */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Bot Status Responsive */
    .status-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .status-details {
        grid-template-columns: 1fr;
    }

    .status-title {
        font-size: 1.5rem;
    }

    /* Commands Responsive */
    .commands-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .command-category {
        padding: 1.5rem;
    }

    .command-list {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .command {
        font-size: 0.85rem;
        padding: 0.7rem 0.8rem;
    }

    .category-header h3 {
        font-size: 1.2rem;
    }

    .category-header i {
        font-size: 2rem;
        padding: 0.6rem;
    }

    .command-count {
        font-size: 0.75rem;
    }
}

/* Command Overlay */
.command-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.command-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.overlay-content {
    background: var(--surface);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.overlay-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.overlay-close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

.overlay-header {
    background: var(--gradient);
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.overlay-header i {
    font-size: 2rem;
}

.overlay-header h2 {
    font-size: 2rem;
    margin: 0;
}

.overlay-body {
    padding: 2rem;
}

.command-syntax,
.command-description,
.command-examples,
.command-permissions {
    margin-bottom: 2rem;
}

.command-syntax h3,
.command-description h3,
.command-examples h3,
.command-permissions h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.command-syntax h3::before {
    content: "📝";
}

.command-description h3::before {
    content: "📖";
}

.command-examples h3::before {
    content: "💡";
}

.command-permissions h3::before {
    content: "🔐";
}

.command-syntax code {
    display: block;
    background: rgba(88, 101, 242, 0.2);
    padding: 1rem;
    border-radius: 10px;
    color: var(--accent);
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    border-left: 4px solid var(--primary-color);
}

.command-description p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.command-example {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
    color: var(--accent);
    border-left: 3px solid var(--success);
}

.command-permissions p {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.permission-badge {
    background: rgba(88, 101, 242, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: var(--accent);
    display: inline-block;
}

.command {
    cursor: pointer;
    transition: all 0.3s;
}

.command:hover {
    background: rgba(88, 101, 242, 0.3);
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(88, 101, 242, 0.3);
}

/* Scrollbar for overlay */
.overlay-content::-webkit-scrollbar {
    width: 10px;
}

.overlay-content::-webkit-scrollbar-track {
    background: var(--background);
    border-radius: 10px;
}

.overlay-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.overlay-content::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}
