/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.logo span {
    color: #00FFAA;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #00FFAA;
}

.cta-button {
    background-color: #00FFAA;
    color: #000 !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 40px 20px;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
    width: 100%;
}

.hero h1 {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #00FFAA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero p {
    font-size: 24px;
    margin-bottom: 40px;
    color: #ccc;
}

/* Background animation */
.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-animation::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 255, 170, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    opacity: 0.7;
}

.particle {
    position: absolute;
    background-color: #00FFAA;
    border-radius: 50%;
}

/* Chatboard Component */
.chatboard {
    background-color: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(120, 120, 120, 0.2);
    overflow: hidden;
    width: 100%;
    max-width: 700px;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.chatboard:hover {
    box-shadow: 0 15px 40px rgba(0, 255, 170, 0.2);
    border-color: rgba(0, 255, 170, 0.3);
}

.chat-messages {
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    display: flex;
    margin-bottom: 10px;
}

.message.user {
    justify-content: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 16px;
    line-height: 1.4;
}

.message.bot .message-content {
    background-color: #1a1a1a;
    color: #fff;
    border-radius: 18px 18px 18px 4px;
}

.message.user .message-content {
    background-color: #00FFAA;
    color: #000;
    border-radius: 18px 18px 4px 18px;
}

.chat-input-container {
    display: flex;
    padding: 15px;
    border-top: 1px solid rgba(120, 120, 120, 0.2);
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background-color: rgba(30, 30, 30, 0.6);
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

.chat-input:focus {
    background-color: rgba(40, 40, 40, 0.8);
    box-shadow: 0 0 0 2px rgba(0, 255, 170, 0.3);
}

.chat-input::placeholder {
    color: #888;
}

.send-button {
    background-color: #00FFAA;
    color: #000;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.send-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 255, 170, 0.5);
}

.chat-examples {
    display: flex;
    overflow-x: auto;
    padding: 0 15px 15px;
    gap: 10px;
    scrollbar-width: none; /* Firefox */
}

.chat-examples::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.example-button {
    background-color: rgba(40, 40, 40, 0.6);
    color: #ccc;
    padding: 8px 15px;
    border-radius: 16px;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
}

.example-button:hover {
    background-color: rgba(0, 255, 170, 0.2);
    color: #00FFAA;
}

.view-docs {
    margin-top: 20px;
}

.secondary-btn {
    background-color: transparent;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #00FFAA;
    transition: all 0.3s;
    display: inline-block;
}

.secondary-btn:hover {
    background-color: rgba(0, 255, 170, 0.1);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: #111;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.section-title p {
    font-size: 20px;
    color: #aaa;
    max-width: 700px;
    margin: 0 auto;
}

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

.feature-card {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 255, 170, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    fill: #00FFAA;
    width: 30px;
    height: 30px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
}

.feature-card p {
    color: #aaa;
    font-size: 16px;
}

/* Footer */
footer {
    background-color: #0a0a0a;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
    align-items: center;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #00FFAA;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #222;
    color: #666;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: #aaa;
    font-size: 20px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #00FFAA;
}

/* Animations */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 56px;
    }
    
    .hero p {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 20px;
        text-align: center;
        z-index: 100;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .chat-examples {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    
    .section-title h2 {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .chatboard {
        max-width: 100%;
    }
    
    .chat-messages {
        max-height: 250px;
    }
    
    .message-content {
        max-width: 90%;
        font-size: 14px;
    }
    
    .chat-input {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .send-button {
        width: 36px;
        height: 36px;
    }
    
    .example-button {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .feature-card {
        padding: 30px;
    }
}