:root {
    --primary-color: #007bff;
    /* Electric Blue */
    --primary-hover: #0056b3;
    --secondary-color: #00c853;
    /* Emerald Green */
    --secondary-hover: #009624;
    --bg-color: #0f172a;
    /* Dark Slate */
    --card-bg: #1e293b;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
}

/* Navbar */
.navbar {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 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;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: #e2e8f0;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.bot-avatar-container {
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    animation: float 6s ease-in-out infinite;
}

.bot-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(0, 123, 255, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background-color: var(--bg-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.stat-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.stat-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: #162032;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Commands Page */
.commands-header {
    text-align: center;
    padding: 60px 0;
}

.commands-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.syntax-note {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.syntax-note code {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: var(--text-color);
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.search-bar {
    flex: 1;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--card-bg);
    color: var(--text-color);
    font-family: var(--font-main);
    font-size: 1rem;
}

.search-bar:focus {
    outline: none;
    border-color: var(--primary-color);
}

.category-select {
    padding: 0 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--card-bg);
    color: var(--text-color);
    font-family: var(--font-main);
    cursor: pointer;
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding-bottom: 100px;
}

.command-card {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.command-card:hover {
    border-color: var(--secondary-color);
}

.command-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.command-name {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.command-category {
    font-size: 0.8rem;
    background-color: rgba(0, 200, 83, 0.1);
    color: var(--secondary-color);
    padding: 4px 8px;
    border-radius: 4px;
}

.command-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.command-usage {
    font-family: monospace;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 8px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #e2e8f0;
}

/* Footer */
footer {
    background-color: #0b1120;
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo a {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 5px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Legal Pages */
.legal-page {
    padding: 80px 0 100px;
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.6s ease;
}

.legal-header i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.legal-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-date {
    color: var(--text-muted);
    font-size: 1rem;
    font-style: italic;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-intro {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 40px;
    animation: fadeIn 0.8s ease;
}

.legal-intro p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-intro p:last-child {
    margin-bottom: 0;
}

.legal-section {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    display: flex;
    gap: 25px;
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.legal-section:nth-child(1) {
    animation-delay: 0.1s;
}

.legal-section:nth-child(2) {
    animation-delay: 0.15s;
}

.legal-section:nth-child(3) {
    animation-delay: 0.2s;
}

.legal-section:nth-child(4) {
    animation-delay: 0.25s;
}

.legal-section:nth-child(5) {
    animation-delay: 0.3s;
}

.legal-section:nth-child(6) {
    animation-delay: 0.35s;
}

.legal-section:nth-child(7) {
    animation-delay: 0.4s;
}

.legal-section:nth-child(8) {
    animation-delay: 0.45s;
}

.legal-section:nth-child(9) {
    animation-delay: 0.5s;
}

.legal-section:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.1);
}

.section-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.section-content h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 10px;
}

.section-content p:last-child {
    margin-bottom: 0;
}

.section-content ul {
    list-style: none;
    margin-top: 15px;
}

.section-content ul li {
    color: var(--text-muted);
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.8;
}

.section-content ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.contact-email {
    background-color: rgba(0, 123, 255, 0.1);
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 15px;
    display: inline-block;
}

.contact-email i {
    color: var(--primary-color);
    margin-right: 10px;
}

.contact-email a {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.contact-email a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.legal-acknowledgment {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 200, 83, 0.1));
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0, 123, 255, 0.2);
    margin-top: 40px;
    text-align: center;
    animation: fadeIn 1s ease;
}

.legal-acknowledgment i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
}

.legal-acknowledgment p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.05rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}