/* Reset et Variables */
:root {
    --primary-color: #5865F2;
    --secondary-color: #7289DA;
    --accent-color: #57F287;
    --dark-bg: #23272A;
    --darker-bg: #2C2F33;
    --light-bg: #F6F7F9;
    --text-dark: #2C2F33;
    --text-light: #FFFFFF;
    --text-gray: #99AAB5;
    --gradient: linear-gradient(135deg, #5865F2 0%, #7289DA 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(88, 101, 242, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo i {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: var(--gradient);
    padding: 150px 20px 100px;
    color: var(--text-light);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

.description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bot-illustration {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 3s ease-in-out infinite;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 5px solid rgba(255, 255, 255, 0.2);
}

.bot-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bot-illustration i {
    font-size: 150px;
    color: white;
}

/* Sections */
section {
    padding: 80px 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

/* Features Section */
.features {
    background: var(--light-bg);
}

.features-showcase {
    max-width: 800px;
    margin: 0 auto 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.features-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.features-image:hover {
    transform: scale(1.02);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Installation Section */
.installation-steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.command-box {
    background: var(--darker-bg);
    color: var(--accent-color);
    padding: 20px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.copy-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.info-text {
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-top: 10px;
}

.info-text i {
    margin-right: 5px;
}

.api-steps {
    background: var(--light-bg);
    padding: 20px 20px 20px 40px;
    border-radius: 10px;
    margin: 20px 0;
    line-height: 2;
}

.api-steps li {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.api-steps a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.api-steps a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.warning-text {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 5px;
    color: #856404;
    margin-top: 20px;
}

.warning-text i {
    color: #ffc107;
    margin-right: 8px;
}

.success-badge {
    background: var(--gradient);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.success-badge i {
    font-size: 2rem;
}

.invite-btn {
    margin-top: 15px;
}

/* Commands Section */
.commands {
    background: var(--light-bg);
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.command-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.command-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.command-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.command-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.command-header h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-family: 'Courier New', monospace;
}

.command-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Contact Section */
.contact-image-wrapper {
    max-width: 700px;
    margin: 0 auto 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.contact-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.contact-image:hover {
    transform: scale(1.02);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.contact-item-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 50px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    transition: all 0.3s;
    max-width: 500px;
    margin: 0 auto;
}

.contact-item:hover,
.contact-item-center:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-item i,
.contact-item-center > i {
    font-size: 4rem;
    color: var(--primary-color);
}

.contact-item h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-item-center h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--text-gray);
}

.contact-item-center p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #5865F2;
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
}

.discord-btn:hover {
    background: #4752C4;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
}

.discord-btn i {
    font-size: 1.3rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Scroll Smooth */
html {
    scroll-behavior: smooth;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 25px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    right: 25px;
    top: 25px;
    font-size: 35px;
    font-weight: bold;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--primary-color);
    background: var(--light-bg);
    transform: rotate(90deg);
}

.modal-header {
    background: var(--gradient);
    color: white;
    padding: 40px;
    border-radius: 25px 25px 0 0;
    text-align: center;
}

.modal-header i {
    font-size: 4rem;
    margin-bottom: 15px;
    display: block;
}

.modal-header h2 {
    font-size: 2rem;
    margin: 0;
}

.modal-body {
    padding: 40px;
}

.modal-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

.modal-feature {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.modal-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.modal-text h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.modal-text p {
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

.modal-quote {
    background: var(--light-bg);
    padding: 30px;
    border-left: 5px solid var(--primary-color);
    border-radius: 10px;
    margin: 30px 0;
    position: relative;
}

.modal-quote i {
    color: var(--primary-color);
    font-size: 2rem;
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 20px;
}

.modal-quote p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    margin: 0;
    padding-left: 40px;
    line-height: 1.8;
}

.modal-cta {
    text-align: center;
    margin-top: 30px;
}

.modal-cta .btn {
    font-size: 1.1rem;
    padding: 18px 35px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}