:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #e94560;
    --accent-light: #ff6b6b;
    --gold: #d4af37;
    --gold-light: #f4d03f;
    --text: #f1f1f1;
    --text-muted: #a0a0a0;
    --card-bg: rgba(255,255,255,0.05);
    --card-border: rgba(255,255,255,0.1);
    --success: #2ecc71;
    --warning: #f39c12;
}

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

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

.stars {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}
.star {
    position: absolute;
    width: 2px; height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}
@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--card-border);
}
.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo i { font-size: 1.8rem; }
.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}
.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a i { font-size: 1rem; }
.nav-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
}

main { position: relative; z-index: 1; padding-top: 80px; }

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}
.hero-content { max-width: 800px; }
.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}
.hero h1 span {
    display: block;
    font-size: 1.2rem;
    color: var(--text-muted);
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    margin-top: 10px;
}
.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.5);
}
.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}
.btn-secondary:hover {
    background: var(--gold);
    color: var(--primary);
    transform: translateY(-3px);
}

.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 15px;
}
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}
.feature {
    text-align: center;
    padding: 30px;
}
.feature i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}
.feature h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 10px;
}
.feature p {
    color: var(--text-muted);
    line-height: 1.6;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}
.tab {
    padding: 12px 25px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 25px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}
.tab:hover, .tab.active {
    background: var(--gold);
    color: var(--primary);
    border-color: var(--gold);
}
.tab-content { display: none; }
.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.tarot-card-display {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
    justify-content: center;
}
.tarot-card {
    width: 200px;
    height: 340px;
    background: linear-gradient(135deg, #1a1a2e, #0f0c29);
    border: 2px solid var(--gold);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}
.tarot-card:hover {
    transform: rotateY(10deg) translateY(-10px);
}
.tarot-card .card-number {
    position: absolute;
    top: 10px;
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 0.9rem;
}
.tarot-card .card-image {
    font-size: 4rem;
    margin: 20px 0;
}
.tarot-card .card-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--gold);
}
.tarot-card .card-keywords {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 10px;
}
.tarot-card.reversed {
    transform: rotate(180deg);
}
.tarot-card.reversed:hover {
    transform: rotate(180deg) rotateY(10deg) translateY(-10px);
}

.card-back {
    width: 200px;
    height: 340px;
    background: linear-gradient(135deg, #1a1a2e, #0f0c29);
    border: 2px solid var(--gold);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
}
.card-back:hover {
    transform: translateY(-10px);
}
.card-back::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid var(--gold);
    border-radius: 10px;
    opacity: 0.5;
}
.card-back .back-pattern {
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.3;
}

.spread-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
}
.spread-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.spread-card { text-align: center; }
.spread-card .position-label {
    font-size: 0.8rem;
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: 600;
}

.reading-result {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
}
.reading-result h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 1.3rem;
}
.reading-result p {
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 15px;
}
.reading-result .aspect {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    border-left: 3px solid var(--gold);
}
.reading-result .aspect-title {
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 5px;
}

.horoscope-sign {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.1rem;
}
.horoscope-sign:hover, .horoscope-sign.active {
    background: var(--gold);
    color: var(--primary);
    border-color: var(--gold);
}
.horoscope-result {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px;
    margin-top: 30px;
    text-align: center;
}
.horoscope-result .sign-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}
.horoscope-result h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 10px;
}
.horoscope-result .date-range {
    color: var(--text-muted);
    margin-bottom: 30px;
}
.horoscope-result .prediction {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    max-width: 700px;
    margin: 0 auto;
}
.horoscope-result .aspects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.horoscope-result .aspect-box {
    background: rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--card-border);
}
.horoscope-result .aspect-box i {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 10px;
}
.horoscope-result .aspect-box h4 {
    color: var(--gold-light);
    margin-bottom: 8px;
}
.horoscope-result .aspect-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.compatibility-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 30px 0;
}
.compatibility-sign {
    text-align: center;
    padding: 30px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    min-width: 200px;
}
.compatibility-sign .sign-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}
.compatibility-sign select {
    margin-top: 10px;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: var(--text);
    font-size: 1rem;
}
.compatibility-heart {
    font-size: 3rem;
    color: var(--accent);
    animation: heartbeat 1.5s infinite;
}
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}
.compatibility-result {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px;
    margin-top: 30px;
    text-align: center;
}
.compatibility-score {
    font-size: 4rem;
    font-family: 'Cinzel', serif;
    color: var(--gold);
    margin: 20px 0;
}
.compatibility-bar {
    width: 100%;
    max-width: 400px;
    height: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    margin: 20px auto;
    overflow: hidden;
}
.compatibility-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease;
}
.compatibility-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    max-width: 700px;
    margin: 20px auto;
}

.natal-form { max-width: 600px; margin: 0 auto; }
.natal-chart-result {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px;
    margin-top: 30px;
}
.natal-chart-result h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    margin-bottom: 20px;
    text-align: center;
}
.planet-position {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    border-left: 3px solid var(--gold);
}
.planet-position .planet-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}
.planet-position .planet-info h4 {
    color: var(--gold-light);
    margin-bottom: 3px;
}
.planet-position .planet-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}
.payment-option {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    transition: all 0.4s;
    cursor: pointer;
    position: relative;
}
.payment-option:hover, .payment-option.selected {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}
.payment-option.recommended { border-color: var(--accent); }
.payment-option.recommended::after {
    content: 'AANBEVOLEN';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}
.payment-option h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    margin-bottom: 10px;
}
.payment-option .price {
    font-size: 2.5rem;
    color: var(--text);
    font-weight: 700;
    margin: 15px 0;
}
.payment-option .price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}
.payment-option ul {
    list-style: none;
    text-align: left;
    margin: 20px 0;
}
.payment-option ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--card-border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}
.payment-option ul li i { color: var(--success); }
.payment-option ul li i.fa-times { color: var(--accent); }

.mollie-payment {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    margin: 30px auto;
    text-align: center;
}
.mollie-payment h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    margin-bottom: 20px;
}
.mollie-payment .payment-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}
.mollie-payment .payment-method {
    padding: 15px 25px;
    background: rgba(255,255,255,0.05);
    border: 2px solid var(--card-border);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.mollie-payment .payment-method:hover, .mollie-payment .payment-method.selected {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}
.mollie-payment .payment-method i {
    font-size: 1.5rem;
    color: var(--gold);
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}
.modal-overlay.active { display: flex; }
.modal {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: 1px solid var(--card-border);
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    animation: modalIn 0.3s ease;
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.modal-close {
    position: absolute;
    top: 20px; right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}
.modal-close:hover { color: var(--accent); }
.modal h2 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: var(--text);
    font-size: 1rem;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 30px;
}
.testimonial .stars {
    color: var(--gold);
    margin-bottom: 15px;
}
.testimonial p {
    color: var(--text);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 15px;
}
.testimonial .author {
    color: var(--gold);
    font-weight: 600;
}

footer {
    background: rgba(0,0,0,0.3);
    border-top: 1px solid var(--card-border);
    padding: 60px 20px 30px;
    margin-top: 80px;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}
.footer-section h4 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    margin-bottom: 20px;
}
.footer-section a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.3s;
}
.footer-section a:hover { color: var(--gold); }
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid var(--card-border);
    color: var(--text-muted);
}

.divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--accent));
    margin: 20px auto;
    border-radius: 3px;
}

.fade-in { animation: fadeIn 0.6s ease; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.loading {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid var(--card-border);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.success-message {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    display: none;
}
.success-message.show { display: block; }

.error-message {
    background: rgba(233, 69, 96, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent-light);
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    display: none;
}
.error-message.show { display: block; }

.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--card-bg);
    border: 1px solid var(--gold);
    border-radius: 15px;
    padding: 20px 30px;
    z-index: 3000;
    transform: translateX(400px);
    transition: transform 0.4s ease;
    max-width: 350px;
}
.notification.show { transform: translateX(0); }
.notification h4 { color: var(--gold); margin-bottom: 8px; }
.notification p { color: var(--text-muted); font-size: 0.9rem; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .tarot-card { width: 150px; height: 260px; }
    .compatibility-container { flex-direction: column; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--primary); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* ============================================
   AI ASTRO/TAROT BOT STYLES
   ============================================ */

.ai-bot-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin: 40px 0;
    align-items: start;
}

/* Avatar Area */
.ai-avatar-area {
    text-align: center;
    position: sticky;
    top: 100px;
}

.avatar-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 20px;
}

.avatar-glow {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    animation: avatarPulse 3s ease-in-out infinite;
}

@keyframes avatarPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.ai-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    transition: all 0.3s;
}

.ai-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.5);
}

.avatar-speaking-ring {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.avatar-speaking-ring.active {
    border-color: var(--accent);
    animation: speakRing 1s ease-in-out infinite;
}

@keyframes speakRing {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.7; }
}

.avatar-status {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--primary);
    border: 2px solid var(--gold);
    border-radius: 20px;
    padding: 5px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.avatar-info h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.avatar-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.avatar-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

/* Chat Interface */
.chat-interface {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 600px;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--card-border);
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-weight: 600;
}

.chat-controls {
    display: flex;
    gap: 10px;
}

.chat-control-btn {
    background: none;
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-control-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.chat-control-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chat-message {
    display: flex;
    gap: 12px;
    max-width: 85%;
    animation: messageIn 0.3s ease;
}

@keyframes messageIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.bot-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--gold);
}

.message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-message .message-avatar {
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    border-color: var(--accent);
}

.message-content {
    background: rgba(255,255,255,0.05);
    padding: 12px 16px;
    border-radius: 15px;
    border: 1px solid var(--card-border);
}

.bot-message .message-content {
    border-bottom-left-radius: 4px;
    border-left: 3px solid var(--gold);
}

.user-message .message-content {
    border-bottom-right-radius: 4px;
    border-right: 3px solid var(--accent);
    background: rgba(233, 69, 96, 0.1);
}

.message-name {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 4px;
}

.user-message .message-name {
    color: var(--accent-light);
    text-align: right;
}

.message-text {
    color: var(--text);
    line-height: 1.6;
    font-size: 0.95rem;
}

.message-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 6px;
    text-align: right;
}

/* Typing Indicator */
.chat-typing {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.typing-indicator {
    display: flex;
    gap: 4px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Chat Input */
.chat-input-area {
    padding: 15px 20px;
    background: rgba(255,255,255,0.03);
    border-top: 1px solid var(--card-border);
}

.chat-input-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.chat-input-wrapper input {
    flex: 1;
    padding: 12px 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--card-border);
    border-radius: 25px;
    color: var(--text);
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.chat-input-wrapper input:focus {
    outline: none;
    border-color: var(--gold);
}

.chat-send-btn, .chat-voice-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1rem;
}

.chat-send-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
}

.chat-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

.chat-voice-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--gold);
}

.chat-voice-btn:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}

.chat-voice-btn.recording {
    background: var(--accent);
    color: white;
    animation: recordingPulse 1.5s infinite;
}

@keyframes recordingPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(233, 69, 96, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(233, 69, 96, 0); }
}

/* Chat Suggestions */
.chat-suggestions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.chat-suggestions button {
    padding: 8px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
}

.chat-suggestions button:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}

/* AI Pricing */
.ai-pricing {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--card-border);
}

/* Responsive */
@media (max-width: 768px) {
    .ai-bot-container {
        grid-template-columns: 1fr;
    }
    .ai-avatar-area {
        position: relative;
        top: 0;
        display: flex;
        align-items: center;
        gap: 20px;
        text-align: left;
    }
    .avatar-wrapper {
        width: 100px;
        height: 100px;
        margin: 0;
    }
    .chat-interface {
        height: 500px;
    }
    .chat-message {
        max-width: 95%;
    }
}
