/* Reset e Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

/* Static Background Grid */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
            background-image: 
            linear-gradient(rgba(255, 215, 0, 0.08) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 215, 0, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

/* Subtle particles */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(2px 2px at 20px 30px, rgba(255, 215, 0, 0.2), transparent),
                radial-gradient(2px 2px at 40px 70px, rgba(0, 0, 0, 0.3), transparent),
                radial-gradient(1px 1px at 90px 40px, rgba(255, 215, 0, 0.3), transparent),
                radial-gradient(1px 1px at 130px 80px, rgba(0, 0, 0, 0.3), transparent),
                radial-gradient(2px 2px at 160px 30px, rgba(255, 215, 0, 0.2), transparent);
    background-size: 200px 200px;
    pointer-events: none;
    z-index: 1;
}

.container {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

/* Sidebar Navigation */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(26, 26, 26, 0.95) 50%,
        rgba(10, 10, 10, 0.95) 100%);
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
    box-shadow: 
        4px 0 20px rgba(0, 0, 0, 0.5),
        inset -1px 0 0 rgba(255, 215, 0, 0.3);
    border-right: 1px solid rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(195, 137, 36, 0.05) 0%, 
        transparent 50%, 
        rgba(195, 137, 36, 0.05) 100%);
    opacity: 0.7;
    pointer-events: none;
}

.logo {
    padding: 0 2rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}



.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFD700;
    line-height: 1.2;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.logo h1::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, 
        rgba(195, 137, 36, 0.1) 0%, 
        transparent 50%, 
        rgba(195, 137, 36, 0.1) 100%);
    border-radius: 10px;
    opacity: 0.5;
    z-index: -1;
}

.logo h1 span {
    color: #ffffff;
    font-weight: 400;
}

.nav-menu {
    list-style: none;
    padding: 0;
}

.nav-item {
    margin: 0.5rem 1rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(195, 137, 36, 0.1) 0%, 
        transparent 50%, 
        rgba(195, 137, 36, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.nav-item:hover::before {
    opacity: 1;
}

.nav-item:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.nav-item.active {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.9) 0%, 
        rgba(201, 169, 110, 0.9) 100%);
    border-color: #FFD700;
    color: #000000;
    font-weight: 600;
    box-shadow: 
        0 4px 15px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.nav-item .icon {
    font-size: 1.5rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.nav-item:hover .icon {
    text-shadow: 0 0 15px rgba(195, 137, 36, 0.8);
    transform: scale(1.1);
}

.nav-item.active .icon {
    opacity: 1;
}

.nav-item span {
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 2;
    position: relative;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0.7;
}

.calculator-section {
    display: none;
    position: relative;
    z-index: 1;
}

.calculator-section.active {
    display: block;
}

.calculator-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, 
        #FFD700 0%, 
        #C9A96E 50%, 
        #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    position: relative;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
}

.calculator-section h2::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 20px;
    background: linear-gradient(to bottom, #c38924, transparent);
    margin-right: 10px;
    vertical-align: middle;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Input Section */
.inputs-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.inputs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 215, 0, 0.08) 0%, 
        transparent 50%, 
        rgba(255, 215, 0, 0.08) 100%);
    opacity: 0.3;
    pointer-events: none;
}

.inputs-section:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(255, 215, 0, 0.2);
}

.inputs-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #FFD700;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.inputs-section h3::before {
    content: '';
    display: inline-block;
    width: 2px;
    height: 15px;
    background: linear-gradient(to bottom, #c38924, transparent);
    margin-right: 8px;
    vertical-align: middle;
}

.input-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #ffffff;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.input-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 1;
}

.input-group input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 
        0 0 0 3px rgba(255, 215, 0, 0.2),
        0 0 20px rgba(255, 215, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.1);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Results Section */
.results-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(16, 48, 106, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.results-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(16, 48, 106, 0.08) 0%, 
        transparent 50%, 
        rgba(16, 48, 106, 0.08) 100%);
    opacity: 0.3;
    pointer-events: none;
}

.results-section:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(16, 48, 106, 0.2);
}

.results-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #FFD700;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.results-section h3::before {
    content: '';
    display: inline-block;
    width: 2px;
    height: 15px;
    background: linear-gradient(to bottom, #c38924, transparent);
    margin-right: 8px;
    vertical-align: middle;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.result-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #C9A96E);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.result-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(195, 137, 36, 0.05) 0%, 
        transparent 50%, 
        rgba(195, 137, 36, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.result-card:hover::before {
    transform: scaleX(1);
}

.result-card:hover::after {
    opacity: 1;
}

.result-card:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.2),
        0 0 15px rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
}

.result-card.highlight {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.15), 
        rgba(0, 0, 0, 0.15));
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 
        0 5px 20px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.result-card h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.result-card span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFD700;
    display: block;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.result-card.highlight span {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #FFD700 0%, #C9A96E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Chart Container */
.chart-container {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

.chart-container canvas {
    max-width: 100%;
    height: auto;
}



/* Mobile Responsive Styles - Versão Otimizada */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        height: 100vh;
        overflow: hidden;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: 1rem 0;
        background: linear-gradient(180deg, 
            rgba(0, 0, 0, 0.98) 0%, 
            rgba(26, 26, 26, 0.98) 50%,
            rgba(10, 10, 10, 0.98) 100%);
        backdrop-filter: blur(15px);
        border-bottom: 2px solid rgba(255, 215, 0, 0.3);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        max-height: 25vh;
        overflow-y: auto;
    }
    
    .logo {
        padding: 0 1rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .logo h1 {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 1rem;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        backdrop-filter: none;
        overflow: visible;
        max-height: none;
    }
    
    .nav-item {
        min-width: auto;
        width: 100%;
        padding: 1rem 1.5rem;
        margin: 0;
        flex-shrink: 0;
        text-align: left;
        white-space: nowrap;
        border: 1px solid rgba(195, 137, 36, 0.2);
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(5px);
        transition: all 0.3s ease;
        position: relative;
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .nav-item .icon {
        display: inline-block;
        margin-bottom: 0;
        margin-right: 0.5rem;
        font-size: 1.2rem;
        flex-shrink: 0;
    }
    
    .nav-item span {
        font-size: 0.9rem;
        display: inline-block;
        text-shadow: none;
        color: inherit;
        flex-grow: 1;
    }
    
    .nav-item.active {
        background: linear-gradient(135deg, 
            rgba(195, 137, 36, 0.9) 0%, 
            rgba(212, 154, 46, 0.9) 100%);
        border-color: #c38924;
        box-shadow: 0 4px 15px rgba(195, 137, 36, 0.4);
        color: #10306a;
        font-weight: 600;
    }
    
    .nav-item:hover {
        transform: translateX(5px);
        box-shadow: 0 4px 15px rgba(195, 137, 36, 0.3);
        background: rgba(195, 137, 36, 0.15);
        border-color: rgba(195, 137, 36, 0.4);
    }
    
    .nav-item:active {
        transform: translateX(3px) scale(0.98);
        box-shadow: 0 2px 10px rgba(195, 137, 36, 0.4);
    }
    
    /* Remove scroll indicators (não são necessários na versão vertical) */
    .nav-menu::before,
    .nav-menu::after {
        display: none;
    }
    
    /* Remove active indicator (não é necessário) */
    .nav-item.active::after {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
        margin-top: 25vh; /* Espaço para o sidebar fixo */
        padding: 1rem;
        width: 100%;
        height: calc(100vh - 25vh);
        overflow-y: auto;
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    }
    
    .calculator-section {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .calculator-section h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .calculator-container {
        display: block;
        gap: 0;
    }
    
    .inputs-section,
    .results-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        width: 100%;
        border-radius: 15px;
    }
    
    .input-row {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .input-group {
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .input-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
        color: #ffffff;
        font-weight: 500;
    }
    
    .input-group input,
    .futuristic-select {
        width: 100%;
        padding: 1rem;
        font-size: 16px; /* Evita zoom no iOS */
        min-height: 48px; /* Touch-friendly */
        border: 2px solid rgba(195, 137, 36, 0.3);
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.6);
        color: #ffffff;
        transition: all 0.3s ease;
    }
    
    .input-group input:focus,
    .futuristic-select:focus {
        border-color: #c38924;
        box-shadow: 0 0 15px rgba(195, 137, 36, 0.4);
        outline: none;
    }
    
    .calculate-btn {
        width: 100%;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        min-height: 56px; /* Touch-friendly */
        border: none;
        border-radius: 12px;
        background: linear-gradient(135deg, 
            rgba(195, 137, 36, 0.9) 0%, 
            rgba(212, 154, 46, 0.9) 100%);
        color: #10306a;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 1rem;
    }
    
    .calculate-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(195, 137, 36, 0.4);
    }
    
    .calculate-btn:active {
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(195, 137, 36, 0.3);
    }
    
    .results-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .result-card {
        padding: 1rem;
        min-height: 80px;
        border-radius: 12px;
        text-align: center;
        background: rgba(0, 0, 0, 0.6);
        border: 1px solid rgba(195, 137, 36, 0.2);
        transition: all 0.3s ease;
    }
    
    .result-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(195, 137, 36, 0.3);
        border-color: rgba(195, 137, 36, 0.4);
    }
    
    .result-card:active {
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(195, 137, 36, 0.3);
    }
    
    .result-card h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        color: #c38924;
    }
    
    .result-card span {
        font-size: 1.1rem;
        font-weight: 600;
        color: #ffffff;
    }
    
    .result-card.highlight {
        background: linear-gradient(135deg, 
            rgba(195, 137, 36, 0.2) 0%, 
            rgba(212, 154, 46, 0.2) 100%);
        border-color: #c38924;
        box-shadow: 0 4px 15px rgba(195, 137, 36, 0.3);
    }
    
    .result-card.highlight span {
        color: #c38924;
        font-size: 1.2rem;
    }
    
    .chart-container {
        margin-top: 1.5rem;
        height: 300px;
        background: rgba(0, 0, 0, 0.6);
        border-radius: 12px;
        padding: 1rem;
        border: 1px solid rgba(195, 137, 36, 0.2);
    }
    
    .chart-container canvas {
        width: 100% !important;
        height: 100% !important;
    }
    
    /* Chat illustration responsivo */
    .chat-illustration {
        margin-top: 1.5rem;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.6);
        border-radius: 12px;
        border: 1px solid rgba(195, 137, 36, 0.2);
    }
    
    .chat-illustration h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
        color: #c38924;
        text-align: center;
    }
    
    .whatsapp-chat {
        max-width: 100%;
        background: rgba(0, 0, 0, 0.8);
        border-radius: 10px;
        overflow: hidden;
    }
    
    .message-bubble {
        max-width: 85%;
        padding: 0.8rem;
        font-size: 0.9rem;
        border-radius: 15px;
        margin-bottom: 0.5rem;
    }
    
    .chat-summary {
        padding: 1rem;
        background: rgba(195, 137, 36, 0.1);
        border-radius: 0 0 10px 10px;
    }
    
    .summary-item {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
        color: #ffffff;
    }
    
    /* Model info container */
    .model-info-container {
        margin-top: 1.5rem;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.6);
        border-radius: 12px;
        border: 1px solid rgba(195, 137, 36, 0.2);
    }
    
    .model-stats {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .stat-item {
        padding: 0.8rem;
        font-size: 0.9rem;
        background: rgba(0, 0, 0, 0.4);
        border-radius: 8px;
        border: 1px solid rgba(195, 137, 36, 0.2);
    }
    
    .total-values {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .total-value {
        font-size: 1.2rem;
        padding: 1rem;
        background: rgba(195, 137, 36, 0.1);
        border-radius: 10px;
        text-align: center;
        border: 1px solid rgba(195, 137, 36, 0.3);
    }
    
    .charts-section {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .charts-section .chart-container {
        margin-bottom: 0;
    }
}

/* Dispositivos móveis pequenos */
@media (max-width: 480px) {
    .sidebar {
        padding: 0.8rem 0;
        max-height: 30vh;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        padding: 0 0.8rem;
    }
    
    .nav-item {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .nav-item .icon {
        font-size: 1rem;
    }
    
    .nav-item span {
        font-size: 0.8rem;
    }
    
    .main-content {
        margin-top: 30vh;
        padding: 0.8rem;
        height: calc(100vh - 30vh);
    }
    
    .calculator-section {
        padding: 0.8rem;
    }
    
    .calculator-section h2 {
        font-size: 1.2rem;
    }
    
    .inputs-section,
    .results-section {
        padding: 1rem;
    }
    
    .input-group input,
    .futuristic-select {
        padding: 0.8rem;
        font-size: 16px;
    }
    
    .calculate-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .results-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.8rem;
    }
    
    .result-card {
        padding: 0.8rem;
        min-height: 70px;
    }
    
    .result-card h4 {
        font-size: 0.8rem;
    }
    
    .result-card span {
        font-size: 1rem;
    }
    
    .chart-container {
        height: 250px;
        padding: 0.8rem;
    }
}

/* Dispositivos móveis extra pequenos */
@media (max-width: 320px) {
    .sidebar {
        max-height: 35vh;
    }
    
    .logo h1 {
        font-size: 1rem;
    }
    
    .nav-item {
        padding: 0.6rem 0.8rem;
    }
    
    .nav-item .icon {
        font-size: 0.9rem;
    }
    
    .nav-item span {
        font-size: 0.75rem;
    }
    
    .main-content {
        margin-top: 35vh;
        padding: 0.5rem;
        height: calc(100vh - 35vh);
    }
    
    .calculator-section h2 {
        font-size: 1.1rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .result-card {
        padding: 0.6rem;
        min-height: 60px;
    }
    
    .result-card h4 {
        font-size: 0.75rem;
    }
    
    .result-card span {
        font-size: 0.9rem;
    }
    
    .chart-container {
        height: 200px;
        padding: 0.6rem;
    }
}

/* Orientação paisagem mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .sidebar {
        max-height: 40vh;
    }
    
    .main-content {
        margin-top: 40vh;
        height: calc(100vh - 40vh);
    }
    
    .nav-menu {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .nav-item {
        min-width: 150px;
        flex-shrink: 0;
    }
    
    .chart-container {
        height: 250px;
    }
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FFD700, #C9A96E);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #C9A96E, #FFD700);
}

/* Loading Animation */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    color: #FFD700;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.loading::before {
    content: '◎';
    font-size: 1.5rem;
    animation: pulse 1.5s infinite;
}

.loading::after {
    content: 'PROCESSANDO...';
    font-size: 1rem;
    letter-spacing: 0.1em;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Glowing Effects */
.glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(195, 137, 36, 0.2);
    }
    to {
        box-shadow: 0 0 30px rgba(195, 137, 36, 0.4);
    }
}

/* Pulse Animation for Active Elements */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Estilos específicos para CalTokens */
.futuristic-select {
    background: linear-gradient(45deg, rgba(195, 137, 36, 0.1), rgba(16, 48, 106, 0.1));
    border: 2px solid #c38924;
    border-radius: 8px;
    padding: 12px 15px;
    color: #c38924;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.futuristic-select:focus {
    border-color: #c38924;
    box-shadow: 0 0 15px rgba(195, 137, 36, 0.3);
    background: rgba(195, 137, 36, 0.1);
}

.futuristic-select option {
    background: #10306a;
    color: #c38924;
    padding: 10px;
}

/* Informações do modelo */
.model-info-container {
    background: linear-gradient(45deg, rgba(195, 137, 36, 0.1), rgba(16, 48, 106, 0.1));
    border: 2px solid #c38924;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.model-info-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(195, 137, 36, 0.2);
}

.model-details {
    padding: 15px 0;
}

.model-info h4 {
    color: #c38924;
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(195, 137, 36, 0.5);
}

.model-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(195, 137, 36, 0.1);
    transform: translateX(5px);
}

.stat-label {
    color: #ffffff;
    font-size: 0.9rem;
    opacity: 0.9;
}

.stat-value {
    color: #c38924;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Resultados da calculadora de tokens */
.results-summary {
    background: linear-gradient(45deg, rgba(195, 137, 36, 0.1), rgba(16, 48, 106, 0.1));
    border: 1px solid #c38924;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.results-summary h3 {
    color: #c38924;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(195, 137, 36, 0.5);
}

.results-summary p {
    margin: 5px 0;
    color: #ffffff;
}

.results-summary strong {
    color: #c38924;
}

.total-summary {
    background: linear-gradient(45deg, rgba(195, 137, 36, 0.2), rgba(16, 48, 106, 0.2));
    border: 2px solid #c38924;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(195, 137, 36, 0.1);
}

.total-summary h3 {
    color: #c38924;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(195, 137, 36, 0.5);
}

.total-values {
    display: flex;
    justify-content: space-around;
    margin: 15px 0;
}

.total-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.total-item span {
    color: #ffffff;
    font-size: 1rem;
}

.total-value {
    color: #c38924 !important;
    font-size: 1.5rem !important;
    font-weight: bold !important;
    text-shadow: 0 0 10px rgba(195, 137, 36, 0.5) !important;
}

.exchange-info {
    margin-top: 15px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    opacity: 0.9;
}

.exchange-info i {
    color: #c38924;
    margin-right: 5px;
}

/* Mensagens de erro para tokens */
.error-message {
    text-align: center;
    padding: 30px;
    background: linear-gradient(45deg, rgba(255, 71, 87, 0.1), rgba(255, 71, 87, 0.05));
    border: 2px solid #ff4757;
    border-radius: 15px;
    color: #ff4757;
}

.error-message i {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.error-message p {
    font-size: 1.1rem;
    margin: 0;
}

/* Melhorias no gráfico de tokens */
#tokens-chart {
    max-height: 300px;
    margin: 20px 0;
}

/* Responsividade para calculadora de tokens */
@media (max-width: 768px) {
    .model-info-container {
        margin-top: 10px;
        padding: 15px;
    }
    
    .model-stats {
        gap: 5px;
    }
    
    .stat-item {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
    
    .total-values {
        flex-direction: column;
        gap: 15px;
    }
    
    .total-value {
        font-size: 1.3rem !important;
    }
}

/* Animações para elementos específicos da calculadora de tokens */
@keyframes tokenPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.stat-item:hover .stat-value {
    animation: tokenPulse 0.5s ease-in-out;
}

/* Estilo para input de taxa de câmbio */
#tokens-exchange {
    position: relative;
}

#tokens-exchange::before {
    content: "R$";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #c38924;
    font-weight: bold;
    pointer-events: none;
}

/* Melhorias no layout da calculadora de tokens */
.charts-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .charts-section {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Chat Illustration Styles */
.chat-illustration {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(195, 137, 36, 0.1);
    backdrop-filter: blur(5px);
}

.chat-illustration h4 {
    color: #c38924;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.chat-explanation {
    color: #ffffff;
    opacity: 0.8;
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.whatsapp-chat {
    background: #0d1117;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(195, 137, 36, 0.2);
}

.chat-header {
    background: linear-gradient(135deg, #10306a 0%, #0d2452 100%);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(195, 137, 36, 0.1);
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(195, 137, 36, 0.8) 0%, 
        rgba(212, 154, 46, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #10306a;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(16, 48, 106, 0.5);
    box-shadow: 0 0 15px rgba(195, 137, 36, 0.4);
}

.chat-info {
    flex: 1;
}

.chat-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
}

.chat-status {
    color: #4CAF50;
    font-size: 0.8rem;
    opacity: 0.8;
}

.chat-messages {
    padding: 1rem;
    background: #161b22;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.user-message {
    justify-content: flex-end;
}

.bot-message {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 70%;
    padding: 0.8rem 1rem;
    border-radius: 18px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

.user-message .message-bubble {
    background: linear-gradient(135deg, #c38924 0%, #d49a2e 100%);
    color: #ffffff;
    border-bottom-right-radius: 4px;
    animation: slideInRight 0.3s ease;
}

.bot-message .message-bubble {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(195, 137, 36, 0.2);
    border-bottom-left-radius: 4px;
    animation: slideInLeft 0.3s ease;
}

@keyframes slideInRight {
    from { transform: translateX(20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.message-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 0.7rem;
    opacity: 0.7;
}

.token-count {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 500;
}

.user-message .token-count {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.2);
}

.bot-message .token-count {
    color: #c38924;
    background: rgba(195, 137, 36, 0.1);
}

.message-time {
    font-size: 0.65rem;
    opacity: 0.6;
}

.chat-summary {
    background: rgba(16, 48, 106, 0.1);
    padding: 1rem;
    border-top: 1px solid rgba(195, 137, 36, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.summary-item {
    color: #ffffff;
    font-size: 0.9rem;
    text-align: center;
}

.summary-item strong {
    color: #c38924;
    display: block;
    margin-bottom: 0.2rem;
}

/* Mobile Responsiveness for Chat */
@media (max-width: 768px) {
    .chat-illustration {
        margin: 1rem 0;
        padding: 1rem;
    }
    
    .message-bubble {
        max-width: 85%;
    }
    
    .chat-summary {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .summary-item {
        text-align: center;
    }
}

/* Jarvis Futuristic Symbols */
.icon {
    font-size: 1.4rem;
    color: #FFD700;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-item:hover .icon {
    text-shadow: 0 0 15px rgba(195, 137, 36, 0.8);
    transform: scale(1.1);
}

.nav-item.active .icon {
    color: #000000;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

/* Calculate Button Symbols */
.calculate-btn {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.9) 0%, 
        rgba(201, 169, 110, 0.9) 100%);
    color: #000000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
    z-index: 1;
}

.calculate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s;
}

.calculate-btn:hover::before {
    left: 100%;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.calculate-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Symbol in button text */
.calculate-btn::first-letter {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(16, 48, 106, 0.5);
    margin-right: 0.5rem;
}

.no-results-icon {
    font-size: 3rem;
    color: #FFD700;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { 
        transform: scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.05); 
        opacity: 0.8; 
    }
    100% { 
        transform: scale(1); 
        opacity: 1; 
    }
}

/* Section Headers with Futuristic Symbols */
.calculator-section h2 {
    font-size: 2rem;
    color: #FFD700;
    margin-bottom: 2rem;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Courier New', monospace;
}

.calculator-section h2::before {
    content: '';
    width: 3px;
    height: 40px;
    background: linear-gradient(180deg, 
        rgba(255, 215, 0, 0.8) 0%, 
        rgba(255, 215, 0, 0.2) 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.calculator-section h3 {
    font-size: 1.3rem;
    color: #c38924;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(195, 137, 36, 0.5);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Courier New', monospace;
}

.inputs-section h3::before {
    content: '';
    width: 2px;
    height: 25px;
    background: linear-gradient(180deg, 
        rgba(195, 137, 36, 0.6) 0%, 
        rgba(195, 137, 36, 0.2) 100%);
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(195, 137, 36, 0.5);
}

.results-section h3::before {
    content: '';
    width: 2px;
    height: 25px;
    background: linear-gradient(180deg, 
        rgba(195, 137, 36, 0.6) 0%, 
        rgba(195, 137, 36, 0.2) 100%);
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(195, 137, 36, 0.5);
}

/* Chat Avatar Enhancement */
.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(195, 137, 36, 0.8) 0%, 
        rgba(212, 154, 46, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #10306a;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(16, 48, 106, 0.5);
    box-shadow: 0 0 15px rgba(195, 137, 36, 0.4);
}

/* No Results State */
.no-results {
    text-align: center;
    padding: 2rem;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.no-results p {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Mobile Navigation Enhancements */
@media (max-width: 768px) {
    .nav-menu {
        position: relative;
        background: rgba(16, 48, 106, 0.9);
        border-radius: 0 0 15px 15px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(10px);
    }
    
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(195, 137, 36, 0.1) 50%, 
            transparent 100%);
        pointer-events: none;
    }
    
    .nav-menu::after {
        content: '⟷ Deslize para navegar';
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.7rem;
        color: rgba(195, 137, 36, 0.7);
        font-family: 'Courier New', monospace;
        text-align: center;
        white-space: nowrap;
        animation: fadeInOut 3s infinite;
    }
    
    @keyframes fadeInOut {
        0%, 100% { opacity: 0.3; }
        50% { opacity: 1; }
    }
    
    .nav-item {
        border: 1px solid rgba(195, 137, 36, 0.2);
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(5px);
        transition: all 0.3s ease;
    }
    
    .nav-item.active {
        background: linear-gradient(135deg, 
            rgba(195, 137, 36, 0.9) 0%, 
            rgba(212, 154, 46, 0.9) 100%);
        border-color: #c38924;
        box-shadow: 0 0 20px rgba(195, 137, 36, 0.5);
    }
    
    .nav-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(195, 137, 36, 0.3);
    }
    
    .nav-item:active {
        transform: translateY(0) scale(0.95);
        box-shadow: 0 2px 10px rgba(195, 137, 36, 0.4);
    }
    
    /* Active indicator */
    .nav-item.active::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
        height: 3px;
        background: linear-gradient(90deg, 
            transparent, 
            #c38924, 
            transparent);
        border-radius: 2px;
        box-shadow: 0 0 10px rgba(195, 137, 36, 0.8);
    }
    
    /* Scroll indicators */
    .nav-menu {
        position: relative;
    }
    
    .nav-menu.scrollable-left::before {
        content: '◀';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 100;
        color: #c38924;
        font-size: 1.2rem;
        text-shadow: 0 0 10px rgba(195, 137, 36, 0.8);
        animation: pulse 2s infinite;
    }
    
    .nav-menu.scrollable-right::after {
        content: '▶';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 100;
        color: #c38924;
        font-size: 1.2rem;
        text-shadow: 0 0 10px rgba(195, 137, 36, 0.8);
        animation: pulse 2s infinite;
    }
}

/* Mobile Input Enhancements */
@media (max-width: 768px) {
    .input-group {
        position: relative;
    }
    
    .input-group input:focus {
        outline: none;
        border-color: #c38924;
        box-shadow: 0 0 20px rgba(195, 137, 36, 0.4);
        background: rgba(195, 137, 36, 0.05);
    }
    
    .input-group input:focus + label {
        color: #c38924;
        transform: scale(1.05);
    }
    
    .futuristic-select:focus {
        outline: none;
        border-color: #c38924;
        box-shadow: 0 0 20px rgba(195, 137, 36, 0.4);
        background: rgba(195, 137, 36, 0.05);
    }
    
    /* Loading state for mobile */
    .calculate-btn.loading {
        pointer-events: none;
        background: linear-gradient(135deg, 
            rgba(195, 137, 36, 0.5) 0%, 
            rgba(212, 154, 46, 0.5) 100%);
        color: rgba(16, 48, 106, 0.5);
        position: relative;
        overflow: hidden;
    }
    
    .calculate-btn.loading::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(195, 137, 36, 0.3), 
            transparent);
        animation: loading-scan 1.5s infinite;
    }
    
    @keyframes loading-scan {
        0% { left: -100%; }
        100% { left: 100%; }
    }
    
    /* Result cards mobile animation */
    .result-card {
        transition: all 0.3s ease;
        transform-origin: center;
    }
    
    .result-card:hover {
        transform: scale(1.02);
        box-shadow: 0 8px 25px rgba(195, 137, 36, 0.3);
    }
    
    .result-card:active {
        transform: scale(0.98);
    }
    
    .result-card.highlight {
        position: relative;
        overflow: hidden;
    }
    
    .result-card.highlight::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(195, 137, 36, 0.1), 
            transparent);
        animation: highlight-glow 3s infinite;
    }
    
    @keyframes highlight-glow {
        0% { left: -100%; }
        50% { left: 100%; }
        100% { left: 100%; }
    }
}

/* Mobile Chart Optimizations */
@media (max-width: 768px) {
    .chart-container {
        position: relative;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 10px;
        padding: 1rem;
        border: 1px solid rgba(195, 137, 36, 0.2);
        overflow: hidden;
    }
    
    .chart-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, 
            rgba(195, 137, 36, 0.05) 0%, 
            transparent 50%, 
            rgba(195, 137, 36, 0.05) 100%);
        pointer-events: none;
    }
    
    .chart-container canvas {
        position: relative;
        z-index: 2;
    }
    
    /* Chart loading indicator */
    .chart-container.loading::after {
        content: '◎ Carregando gráfico...';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #c38924;
        font-family: 'Courier New', monospace;
        font-size: 0.9rem;
        text-align: center;
        z-index: 10;
        animation: pulse 2s infinite;
    }
}

/* Mobile Accessibility Improvements */
@media (max-width: 768px) {
    /* Better contrast for small screens */
    .nav-item span {
        text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    }
    
    .calculator-section h2 {
        text-shadow: 0 0 10px rgba(195, 137, 36, 0.8);
    }
    
    .input-group label {
        text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    }
    
    .result-card h4 {
        text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    }
    
    /* High contrast mode */
    @media (prefers-contrast: high) {
        .nav-item {
            border: 2px solid #c38924;
            background: rgba(0, 0, 0, 0.8);
        }
        
        .nav-item.active {
            border: 2px solid #ffffff;
            background: #c38924;
        }
        
        .input-group input,
        .futuristic-select {
            border: 2px solid #c38924;
            background: rgba(0, 0, 0, 0.8);
        }
        
        .result-card {
            border: 2px solid #c38924;
            background: rgba(0, 0, 0, 0.8);
        }
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Reduce animations for better performance */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
    
    /* GPU acceleration for smooth scrolling */
    .nav-menu {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: scroll-position;
    }
    
    .nav-item {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform;
    }
    
    .calculate-btn {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform;
    }
    
    .result-card {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform;
    }
} 