/* CSS Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white: #ffffff;
    --text-muted: #6c757d;
    --border-radius: 12px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Navbar Styles */
.custom-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark-color) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.brand-text {
    background: linear-gradient(45deg, var(--primary-color), #6f42c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    margin: 0 8px;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    background: var(--primary-color);
    color: white !important;
    transform: translateY(-1px);
}

/* Banner Section */
.banner-section {
    position: relative;
    height: 60vh;
    overflow: hidden;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
}

.banner-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero-section {
    padding: 80px 0 60px;
    background: #f8f9fa;
}

.hero-content h1 {
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero-content .lead {
    font-size: 1.2rem;
    line-height: 1.7;
}

.hero-stats .stat-item {
    text-align: center;
    padding: 20px 10px;
}

.hero-stats h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

/* Tragedy Context & Professional Info */
.tragedy-context {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--danger-color);
}

.context-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.solution-list {
    list-style: none;
    padding-left: 0;
}

.solution-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.95rem;
    line-height: 1.6;
}

.solution-list li:last-child {
    border-bottom: none;
}

.service-info {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: 30px;
}

/* Financial Analysis */
.professional-info {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.financial-analysis {
    background: #f8f9fa;
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
}

.analysis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.analysis-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
}

.analysis-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.analysis-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark-color);
}

/* Target Audience */
.target-audience {
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.audience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.audience-tag {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    margin-top: 30px;
}

.cta-section .btn {
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    text-transform: none;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    margin-bottom: 25px;
}

.feature-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.feature-card h4 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

/* Pricing Section */
.pricing-section {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.pricing-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 8px 25px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), #6f42c1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.plan-icon i {
    font-size: 2rem;
    color: white;
}

.plan-title {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.plan-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

.plan-price {
    text-align: center;
    margin-bottom: 30px;
}

.plan-price .currency {
    font-size: 1.2rem;
    vertical-align: top;
    margin-right: 5px;
}

.plan-price .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.plan-price .period {
    font-size: 1rem;
    color: var(--text-muted);
}

.plan-features ul {
    list-style: none;
    margin-bottom: 40px;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features i {
    color: var(--success-color);
    margin-right: 12px;
    font-size: 1.1rem;
}

.btn-plan {
    width: 100%;
    padding: 15px;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

/* Specific Plan Styles */
.student-plan .plan-icon {
    background: linear-gradient(45deg, #28a745, #20c997);
}

.educator-plan .plan-icon {
    background: linear-gradient(45deg, var(--primary-color), #6f42c1);
}

.vulnerability-plan .plan-icon {
    background: linear-gradient(45deg, #dc3545, #fd7e14);
}

.free-plan {
    font-size: 2.2rem !important;
    color: #28a745 !important;
    font-weight: 800;
}

.vulnerability-plan .plan-price .period {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.comparison-section {
    background: white;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-item i {
    font-size: 2.5rem;
    display: block;
}

/* Donation Section */
.donation-section {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.qr-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-code-frame {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    max-width: 400px;
    width: 100%;
}

.qr-code-header {
    text-align: center;
    margin-bottom: 30px;
}

.qr-code-header i {
    font-size: 3rem;
}

.qr-code-display {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    border: 2px solid #e9ecef;
    border-radius: var(--border-radius);
    position: relative;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-pattern {
    width: 80%;
    height: 80%;
    position: relative;
}

.qr-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid var(--dark-color);
}

.qr-corner.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.qr-corner.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.qr-corner.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.qr-corner.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.qr-dots {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.qr-dot {
    width: 8px;
    height: 8px;
    background: var(--dark-color);
    border-radius: 2px;
}

.qr-code-footer {
    text-align: center;
}

.pix-key {
    background: var(--light-color);
    padding: 10px 15px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    display: inline-block;
    margin: 10px 0;
}

.copy-btn {
    font-size: 0.8rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.value-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.value-btn {
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 600;
}

.impact-section {
    background: white;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.impact-item {
    padding: 30px 20px;
}

.impact-icon i {
    font-size: 3rem;
    margin-bottom: 20px;
}

.transparency-section .card {
    border-radius: var(--border-radius);
}

/* Professional Chat Section - White Theme */
.professional-chat-section {
    padding-top: 80px;
    min-height: 100vh;
    background: #f8f9fa;
    overflow: hidden;
}

.chat-interface {
    display: flex;
    height: calc(100vh - 80px);
    width: 100%;
    max-width: none;
    margin: 0 auto;
    background: white;
    overflow: hidden;
}

/* Sidebar */
.chat-sidebar {
    width: 260px;
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    padding: 12px;
}

.sidebar-header {
    margin-bottom: 20px;
}

.new-chat-btn {
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: 1px solid #d1d5db;
    color: var(--dark-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-chat-btn:hover {
    background: #f3f4f6;
    border-color: var(--primary-color);
}

.chat-history {
    flex: 1;
    overflow-y: auto;
}

.history-item {
    padding: 12px 16px;
    color: #6b7280;
    cursor: pointer;
    border-radius: 8px;
    margin-bottom: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.history-item:hover {
    background: #f3f4f6;
    color: var(--dark-color);
}

.history-item.active {
    background: var(--primary-color);
    color: white;
}

.sidebar-footer {
    border-top: 1px solid #e9ecef;
    padding-top: 12px;
}

.user-info {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    color: #6b7280;
    font-size: 14px;
}

.user-avatar {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 12px;
    color: white;
}

/* Main Chat Area */
.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.professional-chat-header {
    padding: 16px 24px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
}

.professional-chat-header h3 {
    color: var(--dark-color);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 8px;
}

.btn-ghost {
    background: transparent;
    border: none;
    color: var(--dark-color);
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-ghost:hover {
    background: #f3f4f6;
    color: var(--primary-color);
}

/* Messages */
.professional-messages {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    min-height: 0;
}

.welcome-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
}

.ai-avatar-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #6f42c1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: white;
}

.welcome-section h2 {
    color: var(--dark-color);
    font-size: 32px;
    font-weight: 600;
    margin: 0;
}

/* Starter Cards */
.starter-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.starter-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.starter-card:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    transform: translateY(-2px);
}

.starter-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: white;
    font-size: 16px;
}

.starter-card h4 {
    color: var(--dark-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.starter-card p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

/* Chat Messages */
.chat-message {
    display: flex;
    margin-bottom: 24px;
    animation: fadeInUp 0.3s ease;
    max-width: 100%;
}

.message-avatar-prof {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
    color: white;
    font-size: 14px;
}

.message-content-prof {
    flex: 1;
    min-width: 0;
}

.message-text {
    color: var(--dark-color);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.message-time-prof {
    color: #6b7280;
    font-size: 12px;
}

.user-message-prof {
    flex-direction: row-reverse;
}

.user-message-prof .message-avatar-prof {
    background: #6b7280;
    margin-right: 0;
    margin-left: 16px;
}

.user-message-prof .message-time-prof {
    text-align: right;
}

/* Input Area */
.professional-input-area {
    padding: 24px;
    background: white;
    border-top: 1px solid #e9ecef;
}

.input-container {
    width: 100%;
}

.input-wrapper {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.input-wrapper textarea {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--dark-color);
    font-size: 16px;
    resize: none;
    max-height: 200px;
    min-height: 24px;
}

.input-wrapper textarea::placeholder {
    color: #6b7280;
}

.input-wrapper textarea:focus {
    outline: none;
}

.send-button {
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-button:hover {
    background: var(--primary-dark);
}

.send-button:disabled {
    background: #dee2e6;
    cursor: not-allowed;
    color: #6b7280;
}

.input-footer {
    text-align: center;
    margin-top: 12px;
}

.input-footer small {
    color: #6b7280;
    font-size: 12px;
}

/* Typing Animation */
.typing-animation {
    display: flex;
    align-items: center;
    color: #6b7280;
    font-style: italic;
}

.typing-dots {
    display: flex;
    margin-right: 10px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
    margin: 0 2px;
    animation: typingDots 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

.typing-text {
    font-size: 14px;
}

/* API Status Indicator */
.api-status {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-left: 8px;
}

.api-status.online {
    background: #28a745;
    box-shadow: 0 0 6px rgba(40, 167, 69, 0.6);
    animation: subtlePulse 2s infinite;
}

.api-status.offline {
    background: #dc3545;
}

/* Message Formatting */
.message-text strong {
    font-weight: 600;
    color: inherit;
}

.message-text em {
    font-style: italic;
}

.bot-message-prof .message-text {
    line-height: 1.6;
}

/* Loading States */
.send-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.input-wrapper.loading {
    opacity: 0.8;
}

/* Error States */
.error-message {
    background: rgba(220, 53, 69, 0.1);
    border-left: 3px solid #dc3545;
    padding: 12px;
    border-radius: 8px;
    margin: 10px 0;
}

.error-message .message-text {
    color: #dc3545;
}

/* Animations - Mais sutis e profissionais */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtlePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes typingDots {
    0%, 60%, 100% { transform: scale(1); opacity: 0.7; }
    30% { transform: scale(1.2); opacity: 1; }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.6s ease forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }

.pulse {
    animation: subtlePulse 3s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .banner-section {
        height: 50vh;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
    
    .banner-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-content {
        text-align: center;
        margin-top: 40px;
    }
    
    .analysis-grid {
        grid-template-columns: 1fr;
    }
    
    .audience-tags {
        justify-content: center;
    }
    
    .tragedy-context,
    .professional-info {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .service-info {
        padding: 20px;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-bottom: 30px;
    }
    
    /* Professional Chat Mobile */
    .chat-interface {
        flex-direction: column;
        height: calc(100vh - 60px);
        min-height: calc(100vh - 60px);
    }
    
    .chat-main {
        height: 100%;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }
    
    .chat-sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        padding: 12px;
    }
    
    .chat-history {
        display: none;
    }
    
    .sidebar-footer {
        display: none;
    }
    
    .starter-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .professional-messages {
        padding: 16px;
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch; /* Scroll suave no iOS */
        height: auto;
        min-height: 0;
        max-height: calc(100vh - 200px); /* Reserva espaço para header e input */
    }
    
    .professional-input-area {
        padding: 16px;
        flex-shrink: 0; /* Evita que seja comprimida */
        position: sticky;
        bottom: 0;
        background: white;
        border-top: 1px solid #e9ecef;
    }
    
    .professional-chat-header {
        flex-shrink: 0; /* Evita que seja comprimida */
        position: sticky;
        top: 0;
        z-index: 10;
    }
    
    .starter-card {
        padding: 16px;
    }
    
    .welcome-section {
        padding: 20px 10px;
        margin-bottom: 30px;
    }
    
    .welcome-section h2 {
        font-size: 24px;
    }
    
    .ai-avatar-large {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .value-buttons {
        justify-content: center;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto 15px;
    }
}

/* Scrollbar customization */
.chat-messages::-webkit-scrollbar,
.professional-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track,
.professional-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chat-messages::-webkit-scrollbar-thumb,
.professional-messages::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover,
.professional-messages::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Mobile Scroll Improvements */
@media (max-width: 768px) {
    /* Melhora o scroll no mobile */
    .professional-messages {
        scroll-behavior: smooth;
        overscroll-behavior: contain;
    }
    
    /* Touch scroll para iOS */
    .professional-messages,
    .chat-messages {
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: -ms-autohiding-scrollbar;
    }
    
    /* Remove bounce scroll no iOS */
    body {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }
    
    .professional-chat-section {
        overflow: hidden;
        height: 100vh;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        padding-top: 60px;
    }
    
    /* Estilos específicos para scroll mobile */
    .professional-messages.mobile-scroll {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        transform: translateZ(0); /* Força aceleração por hardware */
    }
    
    /* Melhorar performance do scroll */
    .chat-message {
        transform: translateZ(0);
        will-change: transform;
    }
    
    /* Otimização para dispositivos com pouca memória */
    @media (max-width: 480px) {
        .professional-messages {
            contain: layout style paint;
        }
    }
}