@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;800&display=swap");

:root {
    --bg: #030304;
    --card-bg: rgba(18, 18, 22, 0.7);
    --accent: #8b5cf6;
    --accent-glow: rgba(139, 92, 246, 0.4);
    --text-main: #ffffff;
    --text-dim: #94a3b8;
    --border: rgba(255, 255, 255, 0.05);
    --success: #22c55e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: "Plus Jakarta Sans", sans-serif;
    line-height: 1.6;
    background-image: radial-gradient(
        circle at 50% -20%,
        #1e1b4b 0%,
        transparent 50%
    );
    min-height: 100vh;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 10%;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-main);
    text-decoration: none;
}
.logo span {
    color: var(--accent);
}
.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.95rem;
    transition: 0.3s;
}
.nav-links a:hover {
    color: var(--accent);
}

.container {
    padding: 60px 10%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero */
.hero {
    text-align: center;
    padding: 80px 10% 40px;
}
.trust-badge {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}
.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 15px;
    line-height: 1.1;
    font-weight: 800;
}
.just-try {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.btn {
    background: var(--accent);
    color: white;
    padding: 16px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}
.btn:hover {
    box-shadow: 0 0 30px var(--accent);
    transform: scale(1.05);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 20px;
    transition: 0.4s;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
}
.dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* History List */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 20px;
}
.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 25px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
}
.history-v {
    font-weight: 800;
    min-width: 70px;
    color: var(--text-dim);
}
.history-desc {
    flex: 1;
    padding: 0 20px;
    font-size: 0.85rem;
    color: var(--text-dim);
    text-align: left;
}
.history-date {
    font-size: 0.8rem;
    color: #4b5563;
    white-space: nowrap;
}

/* Chat */
#chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 350px;
    height: 450px;
    background: #0b0b0e;
    border: 1px solid var(--border);
    border-radius: 20px;
    display: none;
    flex-direction: column;
    z-index: 2000;
}
.chat-head {
    padding: 15px;
    background: var(--accent);
    border-radius: 20px 20px 0 0;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
}
#chat-msgs {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.msg {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.85rem;
    max-width: 80%;
}
.bot {
    background: #1a1a20;
    align-self: flex-start;
}
.user {
    background: var(--accent);
    align-self: flex-end;
}
#chat-input {
    background: #16161d;
    border: none;
    padding: 15px;
    color: white;
    border-radius: 0 0 20px 20px;
    outline: none;
}
.chat-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1999;
    font-size: 1.5rem;
}

/* Footer */
footer {
    background: #08080a;
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    margin-top: 80px;
    width: 100%;
}
.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-column h4 {
    color: #fff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
}
.footer-column ul li a:hover {
    color: var(--accent);
}
.support-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 15px;
    border-radius: 12px;
}
.support-item span {
    display: block;
    color: var(--accent);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
}
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-dim);
}
.highlight-purple {
    color: #c4b5fd;
    font-weight: 800;
    background: rgba(139, 92, 246, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}
