/* Voice Perception CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --accent: #8b5cf6;
    
    --bg: #0a0b0f;
    --bg-card: #13151d;
    --bg-hover: #1a1c28;
    
    --text: #e8eaed;
    --text-dim: #9ca3af;
    --text-dimmer: #6b7280;
    
    --border: #1f2937;
    
    --radius: 12px;
    --radius-sm: 8px;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 11, 15, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    width: 32px;
    height: 32px;
}

.nav-title {
    font-size: 1.125rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--text);
}

.btn-nav {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s;
}

.btn-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 3rem;
    position: relative;
    background-image: url('https://eobr9qqle4.ufs.sh/f/0k5Cixrj8sI5XL26h5HAf4FM5TZVI3YkOCLW8amgchrXuQRJ');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(10, 11, 15, 0.7) 0%, 
        rgba(10, 11, 15, 0.85) 50%,
        rgba(10, 11, 15, 0.95) 80%,
        var(--bg) 100%
    );
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.tag-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tag-emoji {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.online-indicator {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: #10b981;
    border: 2px solid var(--bg-card);
    border-radius: 50%;
    animation: spin 2s linear infinite, pulse-glow 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
        opacity: 1;
    }
    50% { 
        box-shadow: 0 0 15px rgba(16, 185, 129, 0.9);
        opacity: 0.8;
    }
}

.tag-text {
    display: inline-block;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(120deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-dim);
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: var(--primary);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    color: var(--text);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: var(--bg-hover);
}

.hero-note {
    font-size: 0.9375rem;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-note svg {
    color: #fbbf24;
    flex-shrink: 0;
}

.hero-visual {
    display: none;
}

.visual-card {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.visual-img {
    width: 100%;
    display: block;
}

.visual-overlay {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
}

.audio-indicator {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    background: rgba(10, 11, 15, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.wave {
    width: 3px;
    background: var(--primary);
    border-radius: 2px;
    animation: wave 1s ease-in-out infinite;
}

.wave:nth-child(1) { height: 10px; animation-delay: 0s; }
.wave:nth-child(2) { height: 18px; animation-delay: 0.1s; }
.wave:nth-child(3) { height: 14px; animation-delay: 0.2s; }
.wave:nth-child(4) { height: 20px; animation-delay: 0.3s; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

/* Sections */
.features,
.demo,
.pricing,
.docs {
    padding: 6rem 2rem;
}

.features-container,
.demo-container,
.pricing-container,
.docs-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-dim);
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--primary);
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.4));
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    color: var(--accent);
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.6));
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--text-dim);
    line-height: 1.6;
    font-size: 0.9375rem;
}

/* Demo */
.demo {
    background: var(--bg-card);
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.demo-video {
    width: 100%;
    display: block;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.price-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(139, 92, 246, 0.03) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    transition: all 0.3s;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.price-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, var(--bg-card) 100%);
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.3);
}

.price-card.featured:hover {
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.3), 0 0 0 1px var(--primary);
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.price-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price-name {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.price-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.375rem;
}

.price-currency {
    font-size: 1.25rem;
    color: var(--text-dim);
}

.price-value {
    font-size: 2.5rem;
    font-weight: 800;
}

.price-period {
    color: var(--text-dimmer);
    font-size: 0.875rem;
}

.price-toggle {
    display: flex;
    gap: 0.375rem;
    background: var(--bg);
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.toggle-btn {
    flex: 1;
    padding: 0.5rem 0.875rem;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--text-dim);
    font-weight: 600;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.2s;
}

.toggle-btn.active {
    background: var(--primary);
    color: white;
}

.price-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.price-features li {
    padding: 0.5rem 0;
    color: var(--text-dim);
    font-size: 0.9375rem;
}

.price-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-dimmer);
    margin-top: 1rem;
}

.btn-price {
    width: 100%;
    padding: 1rem;
    background: var(--bg-hover);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-price:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-price.primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-price.primary:hover {
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

/* Docs */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.doc-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(139, 92, 246, 0.03) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    transition: all 0.3s;
}

.doc-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.doc-number {
    position: absolute;
    top: -16px;
    left: 2rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 0.9375rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.doc-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 0.75rem;
}

.doc-description {
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
}

.doc-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9375rem;
    transition: all 0.2s;
    display: inline-block;
}

.doc-link:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateX(3px);
}

.doc-code {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.875rem;
}

.doc-code code {
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary);
    font-size: 0.875rem;
}

.docs-info {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
}

.info-card svg {
    color: var(--primary);
    flex-shrink: 0;
}

.info-card h4 {
    font-size: 1rem;
    margin-bottom: 0.375rem;
}

.info-card p {
    color: var(--text-dim);
    font-size: 0.9375rem;
}

.solution-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, var(--bg-card) 100%);
    border: 1px solid var(--primary);
    border-left: 3px solid var(--accent);
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.2);
    transition: all 0.3s;
    max-width: 600px;
    margin: 0 auto;
    align-items: center;
    text-align: center;
    flex-direction: column;
    padding: 1.5rem;
}

.solution-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.25), 0 0 0 1px var(--primary);
}

.solution-card svg {
    color: #10b981;
}

.solution-content {
    flex: 1;
    width: 100%;
}

.solution-content h4 {
    text-align: center;
}

.solution-content p {
    text-align: center;
}

.btn-solution {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    margin-top: 0.75rem;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-solution:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
}

/* Footer */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 2.5rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    margin-bottom: 0.75rem;
}

.footer-logo {
    width: 28px;
    height: 28px;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
}

.footer-text {
    color: var(--text-dim);
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
}

.footer-copyright {
    color: var(--text-dimmer);
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
}

.footer-disclaimer {
    color: var(--text-dimmer);
    font-size: 0.8125rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 5rem 1.5rem 2.5rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features,
    .demo,
    .pricing,
    .docs {
        padding: 4rem 1.5rem;
    }
    
    .features-grid,
    .pricing-grid,
    .docs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.25rem;
    }
}

/* Garantir que os botões sejam clicáveis */
button.doc-link,
button.btn-solution,
button.btn-price,
a.doc-link,
a.btn-solution,
a.btn-price {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
    user-select: auto;
}

.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-button {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    position: relative;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.chat-button svg {
    color: white;
}

.chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid var(--bg);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    height: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: none;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.chat-window.active {
    display: flex;
}

.chat-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 0.875rem;
}

.chat-avatar svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

.chat-title {
    font-weight: 700;
    font-size: 0.9375rem;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--text-dim);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-close {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.chat-close:hover {
    background: var(--bg-hover);
    color: var(--text);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.message-avatar svg {
    width: 16px;
    height: 16px;
    stroke: white;
}

.chat-message.user .message-avatar {
    background: var(--accent);
}

.message-content {
    flex: 1;
}

.message-text {
    background: var(--bg-hover);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.chat-message.user .message-text {
    background: var(--primary);
    color: white;
}

.message-time {
    font-size: 0.75rem;
    color: var(--text-dimmer);
    margin-top: 0.25rem;
    padding: 0 0.5rem;
}

/* Typing indicator */
.typing-indicator .message-content {
    display: flex;
    align-items: center;
}

.typing-dots {
    background: var(--bg-hover);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--text-dim);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(1) {
    animation-delay: 0s;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.chat-quick-replies {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quick-reply {
    background: var(--bg-hover);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.5rem 0.875rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-reply:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.5rem;
}

.chat-input input {
    flex: 1;
    background: var(--bg-hover);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    outline: none;
}

.chat-input input:focus {
    border-color: var(--primary);
}

.chat-send {
    background: var(--primary);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.chat-send:hover {
    background: var(--primary-dark);
}

/* Responsive Chat */
@media (max-width: 480px) {
    .chat-window {
        width: calc(100vw - 40px);
        right: -10px;
    }
}


/* Botões clicáveis - proteção removida */
a.doc-link,
a.btn-solution,
a.btn-price {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 99999 !important;
}


body::before {
    content: "© Voice Perception - Protected Site";
    position: fixed;
    bottom: 5px;
    right: 5px;
    font-size: 8px;
    color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 9999;
}

/* Watermark */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><text x="50%" y="50%" font-size="12" fill="rgba(255,255,255,0.02)" text-anchor="middle" transform="rotate(-45 100 100)">Voice Perception</text></svg>');
    pointer-events: none;
    z-index: -1;
}

/* Luna Chat Widget - Fixed */
.chat-widget {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 99999 !important;
}

.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transition: all 0.3s;
    position: relative;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(99, 102, 241, 0.6);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 600px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s;
}

.chat-window.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chat-header {
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
}

.chat-header-title {
    font-weight: 600;
    color: white;
    font-size: 1rem;
}

.chat-header-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.9);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse 2s infinite;
}

.chat-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chat-messages {
    flex: 1;
    padding: 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    max-width: 80%;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    line-height: 1.5;
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    background: var(--bg-hover);
    color: var(--text);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.user-message {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 0.5rem;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-secondary);
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quick-reply-btn {
    background: var(--bg-hover);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.5rem 0.875rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-reply-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.chat-list div {
    padding: 0.375rem 0;
    color: var(--text-secondary);
}

.chat-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}

.chat-link:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateX(4px);
}

.chat-code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem;
    margin: 0.25rem 0;
    color: var(--text-secondary);
}

.chat-input-container {
    padding: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    background: var(--bg-hover);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    outline: none;
    font-family: inherit;
}

.chat-input:focus {
    border-color: var(--primary);
}

.chat-send {
    background: var(--primary);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.chat-send:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .chat-window {
        width: calc(100vw - 40px);
        height: calc(100vh - 100px);
    }
}


a.doc-link,
a.btn-solution,
a.btn-price {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

a.btn-solution {
    padding: 0.75rem 1.5rem;
}

a.btn-price {
    width: 100%;
    padding: 1rem;
}



.doc-link,
.btn-solution,
.btn-price {
    pointer-events: auto !important;
    user-select: auto;
}


