/* ========================= styles.css ========================= */
/* Save as styles.css */
:root {
    --bg: #060606;
    --card: #0f0f0f;
    --gold-1: #d4af37;
    --gold-2: #ffd868;
    --muted: #cfcfcf;
    --glass: rgba(255, 255, 255, 0.03);
    --accent: linear-gradient(135deg, var(--gold-1), var(--gold-2));
    --radius: 14px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

* {
    box-sizing: border-box
}

html, body {
    height: 100%
}

body {
    margin: 0;
    background: radial-gradient(1200px 400px at 10% 10%, rgba(212, 175, 55, 0.06), transparent), var(--bg);
    color: var(--muted);
    -webkit-font-smoothing: antialiased;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.brand {
    display: flex;
    gap: 14px;
    align-items: center
}

.logo-hex {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    font-weight: 700;
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.12);
}

.site-header h1 {
    margin: 0;
    color: var(--gold-2)
}

.tag {
    font-size: 12px;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.6)
}

.nav {
    display: flex;
    gap: 18px;
    align-items: center
}

.nav a {
    color: var(--muted);
    text-decoration: none
}

.cta {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.18);
    padding: 8px 14px;
    border-radius: 10px;
    color: var(--gold-2);
    cursor: pointer
}

.btn {
    background: var(--accent);
    border: none;
    padding: 10px 16px;
    border-radius: 12px;
    color: #111;
    font-weight: 600;
    cursor: pointer
}

.btn.ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.04)
}

.btn.small {
    padding: 8px 12px;
    font-size: 14px
}

.hero {
    display: flex;
    gap: 30px;
    padding: 60px 40px;
    align-items: center
}

.hero-left {
    flex: 1
}

.hero-left h2 {
    font-size: 36px;
    margin: 0;
    color: var(--gold-2);
    letter-spacing: 0.2px
}

.hero-left p {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.7)
}

.hero-right {
    width: 380px
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03)
}

.card input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin-top: 10px;
    background: transparent;
    color: var(--muted)
}

.recommendation {
    margin-top: 12px;
    padding: 10px;
    border-radius: 10px;
    background: var(--glass);
    color: var(--muted)
}

.services {
    padding: 40px
}

.services .cards {
    display: flex;
    gap: 16px
}

.service {
    flex: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.02));
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03)
}

.ai-features {
    padding: 40px
}

.contact {
    padding: 40px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.02), transparent)
}

.contact-grid {
    display: flex;
    gap: 36px
}

.contact form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.contact input, .contact textarea {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: transparent;
    color: var(--muted)
}

.site-footer {
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.02)
}

/* chat modal */
.chat-modal {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 360px;
    max-width: calc(100% - 40px);
    z-index: 200;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all .28s ease
}

.chat-modal[aria-hidden="false"] {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto
}

.chat-window {
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.98), rgba(10, 10, 10, 0.98));
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(209, 156, 20, 0.945);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 520px
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03)
}

.chat-messages {
    flex: 1;
    padding: 12px;
    overflow: auto
}

.chat-form {
    display: flex;
    padding: 12px;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.02)
}

.chat-form input {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: transparent;
    color: var(--muted)
}

.msg {
    margin-bottom: 10px;
    display: inline-block;
    padding: 10px;
    border-radius: 10px;
    max-width: 85%
}

.msg.user {
    background: rgba(255, 255, 255, 0.04);
    align-self: flex-end
}

.msg.bot {
    background: linear-gradient(90deg, rgba(233, 189, 43, 0.87), rgba(212, 175, 55, 0.06));
    color: #111
}

.status {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6)
}

/* responsiveness */
@media (max-width:900px) {
    .hero {
        flex-direction: column;
        padding: 32px
    }

    .contact-grid {
        flex-direction: column
    }

    .nav {
        display: none
    }
}

/* subtle animations */
.logo-hex {
    animation: glow 4s linear infinite
}

@keyframes glow {
    0% {
        box-shadow: 0 6px 30px rgba(212, 175, 55, 0.06)
    }

    50% {
        box-shadow: 0 12px 60px rgba(212, 175, 55, 0.12)
    }

    100% {
        box-shadow: 0 6px 30px rgba(212, 175, 55, 0.06)
    }
}