/* Reset & Basics */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    background: #0f0f1a;
    color: #e0e0ff;
    line-height: 1.6;
}
.container { max-width: 1000px; margin: 0 auto; padding: 2rem; }
h1, h2, h3 { font-family: 'Space Mono', monospace; }
a { color: #ff69b4; text-decoration: none; }
a:hover { text-decoration: underline; }
code { background: #1a1a2e; padding: 2px 6px; border-radius: 4px; font-family: 'Space Mono'; }

/* Hero */
.hero {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    text-align: center;
    padding: 6rem 1rem;
    border-bottom: 3px solid #ff69b4;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #ff69b4;
}
.tagline {
    font-size: 1.8rem;
    margin: 1rem 0;
    color: #ffd21f;
}
.blink {
    animation: blink 1.5s infinite;
}
@keyframes blink {
    50% { opacity: 0.4; }
}
.subtitle { font-size: 1.2rem; margin: 1.5rem 0; opacity: 0.9; }
.btn {
    display: inline-block;
    background: #ff69b4;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: 0.3s;
}
.btn:hover { background: #ff1493; transform: scale(1.05); }

/* Features */
.features { padding: 4rem 0; text-align: center; }
.features h2 { font-size: 2.2rem; margin-bottom: 2rem; color: #ffd21f; }
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.card {
    background: #1a1a2e;
    padding: 1.8rem;
    border-radius: 12px;
    border: 1px solid #ff69b4;
    transition: 0.3s;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 10px 20px rgba(255, 105, 180, 0.2); }
.card h3 { color: #ff69b4; margin-bottom: 0.5rem; }

/* Demo Chat */
.demo {
    background: #16213e;
    padding: 4rem 0;
    text-align: center;
}
.demo h2 { margin-bottom: 1.5rem; color: #ffd21f; }
.chat-box {
    background: #0f0f1a;
    border: 2px solid #ff69b4;
    border-radius: 12px;
    padding: 1rem;
    height: 200px;
    overflow-y: auto;
    margin-bottom: 1rem;
    text-align: left;
    font-family: 'Space Mono';
}
.message {
    margin: 0.5rem 0;
    padding: 0.6rem 1rem;
    border-radius: 18px;
    max-width: 80%;
    display: inline-block;
}
.message.bot {
    background: #ff69b4;
    color: white;
    align-self: flex-start;
}
#userInput {
width: 70%;
padding: 0.8rem;
border: 2px solid #ff69b4;
border-radius: 50px;
background: #1a1a2e;
color: white;
font-size: 1rem;
}
#userInput:focus { outline: none; border-color: #ffd21f; }
button {
    padding: 0.8rem 1.5rem;
    background: #ffd21f;
    color: #0f0f1a;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 0.5rem;
}
button:hover { background: #ffed4e; }

/* Projects & Footer */
.projects { padding: 4rem 0; }
.projects ul { list-style: none; }
.projects li { margin: 0.8rem 0; font-size: 1.1rem; }
.projects a { color: #ffd21f; }
footer {
    background: #0a0a10;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #ff69b4;
}
footer a { margin: 0 1rem; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .tagline { font-size: 1.4rem; }
    #userInput { width: 100%; margin-bottom: 0.5rem; }
    button { width: 100%; }
}
