/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #3e505e 0%, #2f3136 100%);
    min-height: 100vh;
    color: #ffffff;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(116, 169, 195, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(116, 169, 195, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #74a9c3;
}

.nav-logo i {
    font-size: 1.8rem;
    background: linear-gradient(45deg, #74a9c3, #d4bca7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    color: #6c7686;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-btn:hover {
    background: linear-gradient(135deg, #ceefff, #d9e6ec);
    color: #74a9c3;
    transform: translateY(-2px);
}

.nav-btn.active {
    background: linear-gradient(135deg, #74a9c3, #d4bca7);
    color: white;
    box-shadow: 0 4px 15px rgba(116, 169, 195, 0.3);
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.page {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(206, 239, 255, 0.8), rgba(217, 230, 236, 0.8));
    border-radius: 20px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="25" cy="25" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.3" fill="%23ffffff" opacity="0.1"/><circle cx="20" cy="80" r="0.3" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #74a9c3, #d4bca7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-title i {
    font-size: 3rem;
    color: #74a9c3;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #6c7686;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-primary {
    background: linear-gradient(135deg, #74a9c3, #d4bca7);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(116, 169, 195, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(116, 169, 195, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #74a9c3;
    border: 2px solid #74a9c3;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: #74a9c3;
    color: white;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(116, 169, 195, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(116, 169, 195, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #74a9c3;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6c7686;
    font-weight: 500;
}

/* Features Preview */
.features-preview {
    margin-bottom: 3rem;
}

.features-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #74a9c3;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(116, 169, 195, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(116, 169, 195, 0.2);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(116, 169, 195, 0.2);
}

.feature-card i {
    font-size: 3rem;
    color: #74a9c3;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.feature-card p {
    color: #6c7686;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 3rem;
    color: #74a9c3;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: #6c7686;
    margin-bottom: 2rem;
}

/* Search Container */
.search-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.search-container i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #74a9c3;
}

#commandSearch {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid rgba(116, 169, 195, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: border-color 0.3s ease;
}

#commandSearch:focus {
    outline: none;
    border-color: #74a9c3;
}

/* Commands Container */
.commands-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.command-category {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(116, 169, 195, 0.1);
    border: 1px solid rgba(116, 169, 195, 0.2);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(116, 169, 195, 0.1);
}

.category-header i {
    font-size: 2rem;
    color: #74a9c3;
}

.category-header h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    flex: 1;
}

.command-count {
    background: linear-gradient(135deg, #74a9c3, #d4bca7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.command-card {
    background: linear-gradient(135deg, rgba(206, 239, 255, 0.5), rgba(217, 230, 236, 0.5));
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(116, 169, 195, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.command-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(116, 169, 195, 0.2);
    border-color: #74a9c3;
}

.command-name {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: #74a9c3;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid rgba(116, 169, 195, 0.2);
}

.command-desc {
    color: #6c7686;
    line-height: 1.5;
}

/* About Page */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.about-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(116, 169, 195, 0.1);
}

.about-text h2 {
    font-size: 2.5rem;
    color: #74a9c3;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #6c7686;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.bot-avatar {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #74a9c3, #d4bca7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 30px rgba(116, 169, 195, 0.3);
}

.bot-avatar i {
    font-size: 5rem;
    color: white;
}

.technology-stack {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(116, 169, 195, 0.1);
}

.technology-stack h2 {
    font-size: 2.5rem;
    color: #74a9c3;
    margin-bottom: 2rem;
    text-align: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-card {
    background: linear-gradient(135deg, rgba(206, 239, 255, 0.5), rgba(217, 230, 236, 0.5));
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(116, 169, 195, 0.2);
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(116, 169, 195, 0.2);
}

.tech-card i {
    font-size: 3rem;
    color: #74a9c3;
    margin-bottom: 1rem;
}

.tech-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.tech-card p {
    color: #6c7686;
}

.key-features {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(116, 169, 195, 0.1);
}

.key-features h2 {
    font-size: 2.5rem;
    color: #74a9c3;
    margin-bottom: 2rem;
    text-align: center;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(206, 239, 255, 0.3), rgba(217, 230, 236, 0.3));
    border-radius: 15px;
    border: 1px solid rgba(116, 169, 195, 0.2);
}

.feature-item i {
    font-size: 2rem;
    color: #74a9c3;
    margin-top: 0.5rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #6c7686;
    line-height: 1.6;
}

.stats-section {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(116, 169, 195, 0.1);
    text-align: center;
}

.stats-section h2 {
    font-size: 2.5rem;
    color: #74a9c3;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    background: linear-gradient(135deg, rgba(206, 239, 255, 0.5), rgba(217, 230, 236, 0.5));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(116, 169, 195, 0.2);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #74a9c3;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6c7686;
    font-weight: 500;
}

/* Credits Section */
.credits-section {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(116, 169, 195, 0.1);
    text-align: center;
}

.credits-section h2 {
    font-size: 2.5rem;
    color: #74a9c3;
    margin-bottom: 2rem;
}

.credits-content {
    max-width: 800px;
    margin: 0 auto;
}

.credits-card {
    background: linear-gradient(135deg, rgba(206, 239, 255, 0.3), rgba(217, 230, 236, 0.3));
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(116, 169, 195, 0.2);
}

.credits-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.credits-header i {
    font-size: 2rem;
    color: #d4bca7;
}

.credits-header h3 {
    font-size: 2rem;
    color: #74a9c3;
}

.credits-intro {
    font-size: 1.1rem;
    color: #6c7686;
    margin-bottom: 2rem;
    text-align: center;
}

.team-section {
    margin-bottom: 2rem;
    text-align: left;
}

.team-section h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    color: #74a9c3;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(116, 169, 195, 0.2);
    padding-bottom: 0.5rem;
}

.team-section i {
    color: #d4bca7;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-left: 1.5rem;
}

.member {
    background: linear-gradient(135deg, #74a9c3, #d4bca7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(116, 169, 195, 0.3);
    transition: all 0.3s ease;
}

.member:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(116, 169, 195, 0.4);
}

.role-credits {
    margin-left: 1.5rem;
}

.credit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(116, 169, 195, 0.2);
}

.role {
    font-weight: 600;
    color: #2c3e50;
    flex: 1;
}

.credit-item .member {
    margin: 0;
}

/* Features Page */
.features-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.feature-showcase {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.showcase-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(116, 169, 195, 0.1);
    border: 1px solid rgba(116, 169, 195, 0.2);
}

.showcase-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #74a9c3, #d4bca7);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(116, 169, 195, 0.3);
}

.showcase-icon i {
    font-size: 2.5rem;
    color: white;
}

.showcase-content h2 {
    font-size: 2rem;
    color: #74a9c3;
    margin-bottom: 1rem;
}

.showcase-content p {
    font-size: 1.1rem;
    color: #6c7686;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.showcase-content ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.showcase-content li {
    color: #74a9c3;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.showcase-content li::before {
    content: '✓';
    background: linear-gradient(135deg, #74a9c3, #d4bca7);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(116, 169, 195, 0.95));
    color: white;
    margin-top: 4rem;
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section h3 i {
    color: #ceefff;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ceefff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d9e6ec;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ceefff;
}

.footer-bottom {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(206, 239, 255, 0.2);
    margin-top: 2rem;
    color: #d9e6ec;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-title {
        font-size: 2.5rem;
        flex-direction: column;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .about-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .showcase-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .commands-grid {
        grid-template-columns: 1fr;
    }

    .main-content {
        padding: 1rem;
    }
}

/* Animation for command search */
.command-card.hidden {
    display: none;
}

.command-card.highlight {
    border-color: #d4bca7;
    background: linear-gradient(135deg, rgba(212, 188, 167, 0.2), rgba(217, 230, 236, 0.2));
}

/* Loading animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 1.5s infinite;
}