:root {
    --primary: #FF8C00; /* Dark Orange */
    --secondary: #e67e00;
    --accent: #FFD700; /* Gold/Orange-Yellow */
    --bg-dark: #0a192f; /* Deep Dark Blue */
    --bg-card: rgba(16, 33, 65, 0.7);
    --glass-border: rgba(255, 140, 0, 0.2);
    --text-primary: #FFFFFF;
    --text-secondary: #8892b0;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Animated Background */
.bg-animate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 10% 20%, rgba(255, 140, 0, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(10, 25, 47, 0.8) 0%, transparent 40%);
}

.bg-blur {
    position: fixed;
    width: 400px;
    height: 400px;
    background: var(--primary);
    filter: blur(180px);
    border-radius: 50%;
    opacity: 0.15;
    z-index: -1;
    animation: moveBlur 25s infinite alternate;
}

@keyframes moveBlur {
    from { transform: translate(-30%, -30%); }
    to { transform: translate(130%, 130%); }
}

/* Layout */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 6rem;
    padding: 6rem 0;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 2rem;
    font-weight: 900;
    color: var(--white);
}

.hero h1 span {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-dark);
    padding: 1.2rem 3.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 140, 0, 0.4);
    background: var(--white);
}

/* Dashboard Section */
.dashboard-card {
    background: var(--bg-card);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 4rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
}

.status-badge {
    padding: 6px 15px;
    background: rgba(255, 140, 0, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid var(--primary);
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: all 0.3s;
}

.stat-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.stat-val {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Table */
.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

th {
    text-align: left;
    padding: 1.2rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid var(--glass-border);
}

td {
    padding: 1.5rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

tr:hover td {
    background: rgba(255, 140, 0, 0.02);
}

.bot-badge {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-name {
    font-weight: 700;
    color: var(--white);
}

.user-handle {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.message-bubble {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.bot-response {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.time-cell {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Footer */
footer {
    text-align: center;
    padding: 5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 1.1rem; }
}
