/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #5865F2;
    --primary-dark: #4752c4;
    --secondary-color: #57F287;
    --accent-color: #EB459E;
    --dark-color: #0a0e17;
    --darker-color: #050811;
    --light-color: #FFFFFF;
    --gray-color: #8b9cb5;
    --dark-gray: #1a1f2e;
    --light-gray: #1e2436;
    --discord-bg: #2f3136;
    --discord-header: #292b2f;
    --discord-text: #dcddde;
    --discord-text-muted: #72767d;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--light-color);
    background-color: var(--darker-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #050811 0%, #0a1425 50%, #07111e 100%);
    overflow: hidden;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, #fff, transparent),
        radial-gradient(1px 1px at 90px 40px, #ddd, transparent),
        radial-gradient(1px 1px at 130px 80px, #fff, transparent),
        radial-gradient(2px 2px at 160px 30px, #eee, transparent);
    background-repeat: repeat;
    background-size: 800px 800px; /* تقليل كثافة النجوم */
    animation: none; /* إيقاف حركة النجوم */
}

.twinkling {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    animation: none; /* إيقاف حركة الوميض */
}

/* Generate random stars */
.stars::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1.5px 1.5px at 15% 25%, #fff, transparent),
        radial-gradient(1px 1px at 65% 15%, #fff, transparent),
        radial-gradient(2px 2px at 85% 45%, #fff, transparent),
        radial-gradient(1px 1px at 25% 75%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 45% 85%, #fff, transparent),
        radial-gradient(1px 1px at 75% 35%, #fff, transparent),
        radial-gradient(2px 2px at 35% 55%, #fff, transparent),
        radial-gradient(1px 1px at 55% 65%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 95% 25%, #fff, transparent),
        radial-gradient(1px 1px at 15% 85%, #fff, transparent),
        radial-gradient(2px 2px at 65% 75%, #fff, transparent),
        radial-gradient(1px 1px at 85% 15%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 25% 35%, #fff, transparent),
        radial-gradient(1px 1px at 45% 45%, #fff, transparent),
        radial-gradient(2px 2px at 75% 85%, #fff, transparent),
        radial-gradient(1px 1px at 35% 15%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 55% 25%, #fff, transparent),
        radial-gradient(1px 1px at 95% 65%, #fff, transparent),
        radial-gradient(2px 2px at 15% 55%, #fff, transparent),
        radial-gradient(1px 1px at 65% 35%, #fff, transparent);
    background-repeat: no-repeat;
}

@keyframes stars {
    from { background-position: 0 0; }
    to { background-position: 200px 100px; }
}

@keyframes twinkling {
    0% { opacity: 0.3; }
    100% { opacity: 0.8; }
}

/* Floating Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Header & Navigation */
.navbar {
    background-color: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(88, 101, 242, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--light-color);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2rem;
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--light-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 10px 0;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.bar {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--light-color);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    border: none;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient);
    color: var(--light-color);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-color);
    border: 2px solid var(--light-color);
}

.btn-secondary:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--light-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    position: relative;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes pulse {
    0% { 
        transform: scale(1); 
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    }
    50% { 
        transform: scale(1.05); 
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
    }
    100% { 
        transform: scale(1); 
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #a8b1ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    color: var(--gray-color);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.trusted-servers {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trusted-servers p {
    margin-bottom: 1rem;
    color: var(--gray-color);
    font-weight: 500;
}

#server-count {
    color: var(--secondary-color);
    font-weight: 700;
}

.servers-grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.server-item {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.server-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: var(--transition);
}

.server-item:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.server-item:hover::before {
    opacity: 1;
}

.server-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Chat Demo */
.hero-chat {
    position: relative;
}

.chat-container {
    background-color: var(--discord-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    /* تعديلات جديدة لجعل الشكل مثل الهاتف */
    max-width: 360px;
    height: 600px;
    margin-left: auto;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* تعديل الانتقال */
}
.chat-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(88, 101, 242, 0.1), transparent);
    opacity: 0;
    transition: var(--transition);
}

.chat-container:hover {
    transform: translateY(-10px) scale(1.02); /* تأثير حركة محسن */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.chat-container:hover::before {
    opacity: 1;
}

.chat-container.discord-theme {
    background-color: var(--discord-bg);
    color: var(--discord-text);
}

.chat-header {
    padding: 15px 20px;
    background-color: var(--discord-header);
    color: var(--discord-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0; /* منع التقلص */
}

.chat-avatar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-header .avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(88, 101, 242, 0.4);
}
/* تنسيق صورة الشعار في رأس الدردشة */
.chat-header .avatar-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}


.chat-info h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.status {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status.online {
    color: var(--secondary-color);
}

.status.online::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: inline-block;
}

.chat-actions {
    display: flex;
    gap: 15px;
    color: var(--discord-text-muted);
}

.chat-actions i {
    cursor: pointer;
    transition: var(--transition);
    padding: 5px;
    border-radius: 4px;
}

.chat-actions i:hover {
    color: var(--discord-text);
    background: rgba(255, 255, 255, 0.1);
}

.chat-messages {
    flex-grow: 1; /* السماح بالتمدد لملء المساحة */
    padding: 10px 20px;
    overflow-y: auto;
    background-color: var(--discord-bg);
    min-height: 0; /* ضروري لعمل flex-grow في بعض المتصفحات */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.message {
    margin-bottom: 1rem;
    display: flex;
    gap: 15px;
    animation: messageSlide 0.3s ease-out;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تعديل الصورة الرمزية (Avatar) للرسائل */
.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover; /* لضمان ظهور الصورة بشكل جيد */
    flex-shrink: 0;
    margin-right: 0; /* تم نقل المسافة إلى gap في .message */
}


.message-content {
    flex: 1;
    min-width: 0;
}

.message-author {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.95rem; /* تصغير خط اسم المرسل */
}

.message-content p {
    margin: 0;
    line-height: 1.4;
    word-wrap: break-word;
    font-size: 0.9rem; /* تصغير خط الرسالة */
}

.user-message .message-author {
    color: #7289da;
}
.bot-message .message-author {
    color: var(--primary-color);
}

.message-time {
    font-size: 0.75rem;
    color: var(--discord-text-muted);
    margin-top: 5px;
}

.thinking {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.3rem;
    font-style: italic;
    color: var(--discord-text-muted);
}

.thinking > span {
    font-size: 0.85rem;
}

.typing-indicator {
    display: flex;
    margin-left: 8px;
}

.typing-indicator span {
    height: 6px;
    width: 6px;
    background-color: var(--discord-text-muted);
    border-radius: 50%;
    display: inline-block;
    margin: 0 2px;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-3px);
    }
}

.bot-response {
    margin-top: 5px;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.chat-input {
    padding: 15px 20px;
    background-color: var(--discord-header);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0; /* منع التقلص */
}

.input-container {
    display: flex;
    align-items: center;
    background-color: #40444b; /* لون ديسكورد أدق */
    border-radius: 8px;
    padding: 10px 15px;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.input-container input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--discord-text);
    font-family: inherit;
    font-size: 0.9rem;
}

.input-container input:focus {
    outline: none;
}

.input-container input::placeholder {
    color: var(--discord-text-muted);
}

.input-actions {
    display: flex;
    gap: 15px;
    color: var(--discord-text-muted);
}

.input-actions i {
    cursor: pointer;
    transition: var(--transition);
    padding: 5px;
    border-radius: 4px;
}

.input-actions i:hover {
    color: var(--discord-text);
    background: rgba(255, 255, 255, 0.1);
}

/* Features Section */
.features {
    padding: 100px 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: var(--transition);
    opacity: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
    border-color: rgba(88, 101, 242, 0.3);
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-card:hover::after {
    opacity: 1;
    animation: shine 1.5s ease-out;
}

@keyframes shine {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--light-color);
}

.feature-card p {
    color: var(--gray-color);
    line-height: 1.6;
}

/* Commands Section */
.commands {
    padding: 100px 0;
    position: relative;
}

.commands-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-color);
    position: relative;
    overflow: hidden;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.tab-button.active {
    background: var(--gradient);
    color: var(--light-color);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.tab-button:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    border-color: rgba(255, 255, 255, 0.2);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.tab-content.active {
    display: block;
}

.command-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.command-item {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.command-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
}

.command-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    border-color: rgba(88, 101, 242, 0.3);
}

.command-item:hover::before {
    opacity: 1;
}

.command-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(88, 101, 242, 0.3);
}

.command-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.command-info p {
    color: var(--gray-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Why Choose Us Section */
.why-us {
    padding: 100px 0;
    position: relative;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.why-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
    border-color: rgba(88, 101, 242, 0.3);
}

.why-card:hover::before {
    opacity: 0.1;
}

.why-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.why-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--light-color);
}

.why-card p {
    color: var(--gray-color);
    line-height: 1.6;
}

/* Developer Section */
.developer {
    padding: 100px 0;
    position: relative;
}

.developer-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.developer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.05;
    z-index: -1;
}

.developer-avatar {
    position: relative;
    flex-shrink: 0;
}

.avatar-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.developer-status {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.status-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--darker-color);
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(87, 242, 135, 0.4);
}

.developer-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #a8b1ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.developer-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.developer-bio {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.developer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.badge-primary {
    background: var(--gradient);
    color: var(--light-color);
}

.badge-secondary {
    background: linear-gradient(45deg, #57F287, #45eb7a);
    color: var(--dark-color);
}

.badge-tertiary {
    background: linear-gradient(45deg, #EB459E, #e52e8a);
    color: var(--light-color);
}

.badge-quaternary {
    background: linear-gradient(45deg, #7289da, #5865F2);
    color: var(--light-color);
}

.developer-contact {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.discord-link, .github-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-link {
    background: var(--gradient);
    color: var(--light-color);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.github-link {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
}

.discord-link:hover, .github-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.github-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Footer */
.footer {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(15px);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(88, 101, 242, 0.2);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--light-color);
}

.footer-description {
    color: var(--gray-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--gradient);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(88, 101, 242, 0.4);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-column a {
    display: block;
    color: var(--gray-color);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .hero-container {
        gap: 3rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .nav-actions {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .developer-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .command-grid {
        grid-template-columns: 1fr;
    }
    
    .commands-tabs {
        flex-direction: column;
    }
    
    .tab-button {
        justify-content: center;
    }
    
    .feature-card,
    .why-card {
        padding: 2rem 1.5rem;
    }
    
    .developer-card {
        padding: 1.5rem;
    }
    
    .developer-contact {
        flex-direction: column;
    }
}
