:root {
  --primary: #6c00ff;
  --secondary: #3f0071;
  --accent: #bb86fc;
  --bg: #050505;
  --glass: rgba(255, 255, 255, 0.05);
}

* { box-sizing: border-box; transition: all 0.3s ease; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: white;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(13, 13, 13, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
}

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

.nav-logo { height: 40px; }

.nav-menu { display: flex; list-style: none; gap: 2rem; }

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.nav-menu a:hover { color: var(--accent); }

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at center, #1a0033 0%, #050505 100%);
  padding: 0 1rem;
}

.hero h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  margin: 0;
  background: linear-gradient(to right, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 10px;
}

/* Product Cards (Glassmorphism) */
.container { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }

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

.product-card {
  background: var(--glass);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(108, 0, 255, 0.2);
}

.status-tag {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1.2rem;
  background: var(--primary);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: bold;
}

/* Chat Message Types */
.user-msg {
    padding: 4px 8px;
    color: #bb86fc;
    border-left: 2px solid #6c00ff;
    margin-bottom: 5px;
    font-size: 0.83rem;
}
.bot-msg {
    padding: 4px 0;
    color: #e0e0e0;
    margin-bottom: 5px;
    font-size: 0.83rem;
}
.agent-msg {
    padding: 4px 8px;
    color: #00cc66;
    border-left: 2px solid #00cc66;
    margin-bottom: 5px;
    font-size: 0.83rem;
}
.system-msg {
    text-align: center;
    color: #444;
    font-size: 0.72rem;
    font-style: italic;
    margin: 4px 0;
}
#agent-status-bar {
    padding: 5px 10px;
    background: rgba(0, 204, 102, 0.08);
    border-bottom: 1px solid rgba(0, 204, 102, 0.3);
    color: #00cc66;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
}

#cancel-support-bar {
    padding: 6px 10px;
    background: rgba(255, 60, 60, 0.07);
    border-bottom: 1px solid rgba(255, 60, 60, 0.25);
    text-align: center;
}

#cancel-support-btn {
    background: transparent;
    border: 1px solid rgba(255, 80, 80, 0.5);
    color: #ff6b6b;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

#cancel-support-btn:hover {
    background: rgba(255, 80, 80, 0.15);
    color: #ff4444;
}

/* Chatbot Styles */
#ai-chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background: #1a1a1a;
  border: 1px solid var(--primary);
  border-radius: 15px;
  z-index: 2000;
}

#chat-header {
  background: var(--primary);
  padding: 10px 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  border-radius: 14px 14px 0 0;
}

#chat-body { padding: 15px; }

.hidden { display: none; }

#chat-messages { height: 200px; overflow-y: auto; font-size: 0.85rem; margin-bottom: 10px; }

.chat-input-area { display: flex; gap: 5px; }

.chat-input-area input {
  flex: 1;
  background: #333;
  border: none;
  color: white;
  padding: 5px;
  border-radius: 5px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .nav-menu { display: none; } /* Mobile usually uses a burger menu, simplified here */
  .hero h1 { letter-spacing: 5px; }
  .container { padding: 3rem 1rem; }
}