/**
 * Terminal Chat Interface Styles
 * Enhanced Dark Theme with Cyan/Purple Gradients
 * Updated: 2025-10-07
 */

/* Terminal Window Container */
.terminal-window {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
    border-radius: 16px;
    box-shadow:
        0 0 0 1px rgba(0, 191, 255, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 4px 16px rgba(0, 191, 255, 0.1),
        0 0 40px rgba(138, 43, 226, 0.1);
    font-family: 'Inter', 'SF Mono', 'Monaco', 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.5;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

/* Terminal Header */
.terminal-header {
    background: linear-gradient(135deg, #252A48 0%, #1A1A2E 100%);
    padding: 14px 20px;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 191, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Terminal Controls (Traffic Lights) */
.terminal-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.terminal-button {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.terminal-button.close {
    background: linear-gradient(135deg, #ff5f57 0%, #ff3b30 100%);
    box-shadow: 0 2px 4px rgba(255, 95, 87, 0.3);
}

.terminal-button.minimize {
    background: linear-gradient(135deg, #ffbd2e 0%, #ffa500 100%);
    box-shadow: 0 2px 4px rgba(255, 189, 46, 0.3);
}

.terminal-button.maximize {
    background: linear-gradient(135deg, #28ca42 0%, #20a038 100%);
    box-shadow: 0 2px 4px rgba(40, 202, 66, 0.3);
}

.terminal-button:hover {
    transform: scale(1.15);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.terminal-button:active {
    transform: scale(1.05);
}

/* Terminal Title */
.terminal-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    flex: 1;
    margin: 0 20px;
    background: linear-gradient(135deg, #00BFFF 0%, #8A2BE2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
}

/* Terminal Content Area */
.terminal-content {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
    padding: 14px 16px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    color: #00BFFF;
    position: relative;
    backdrop-filter: blur(10px);
    min-height: 0;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
}

/* Custom Scrollbar - Enhanced Visibility */
.terminal-content::-webkit-scrollbar {
    width: 12px;
}

.terminal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    margin: 4px 0;
}

.terminal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00BFFF 0%, #8A2BE2 100%);
    border-radius: 6px;
    border: 2px solid rgba(26, 26, 46, 0.5);
    box-shadow: 0 0 12px rgba(0, 191, 255, 0.4);
    transition: all 0.3s ease;
}

.terminal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #00FFFF 0%, #9A3BF2 100%);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.6);
    border-color: rgba(0, 191, 255, 0.3);
}

.terminal-content::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, #00BFFF 0%, #8A2BE2 100%);
    box-shadow: 0 0 25px rgba(0, 191, 255, 0.8);
}

/* Terminal Lines */
.terminal-line {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    word-wrap: break-word;
    white-space: pre-wrap;
    animation: terminal-line-fade 0.3s ease-in;
}

@keyframes terminal-line-fade {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Terminal Prompt */
.terminal-prompt {
    color: #00BFFF;
    margin-right: 10px;
    flex-shrink: 0;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.terminal-prompt.user {
    color: #00FFFF;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.terminal-prompt.ai {
    color: #8A2BE2;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
}

.terminal-prompt.system {
    color: #FFA500;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

.terminal-prompt.search {
    color: #00FFFF;
    animation: search-pulse 2s infinite;
}

@keyframes search-pulse {
    0%, 100% {
        color: #00FFFF;
        text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
    }
    50% {
        color: #00BFFF;
        text-shadow: 0 0 15px rgba(0, 191, 255, 0.9);
    }
}

/* Terminal Text */
.terminal-text {
    color: #FFFFFF;
    flex: 1;
    line-height: 1.6;
}

.terminal-text.user {
    color: #E0E0E0;
}

.terminal-text.ai {
    color: #FFFFFF;
}

.terminal-text.system {
    color: #FFA500;
    font-style: italic;
}

.terminal-text.search {
    color: #00FFFF;
    font-style: italic;
    animation: search-text-glow 2s infinite;
}

@keyframes search-text-glow {
    0%, 100% {
        color: #00FFFF;
        text-shadow: 0 0 5px rgba(0, 255, 255, 0.4);
    }
    50% {
        color: #FFFFFF;
        text-shadow: 0 0 12px rgba(0, 255, 255, 0.7);
    }
}

/* Typing Cursor */
.terminal-cursor {
    display: inline-block;
    width: 10px;
    height: 18px;
    background: linear-gradient(135deg, #00BFFF 0%, #8A2BE2 100%);
    margin-left: 3px;
    animation: blink 1s infinite;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
    border-radius: 2px;
}

.terminal-cursor.search-cursor {
    background: linear-gradient(135deg, #00FFFF 0%, #00BFFF 100%);
    animation: search-cursor-blink 0.8s infinite;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
    }
    51%, 100% {
        opacity: 0;
        box-shadow: none;
    }
}

@keyframes search-cursor-blink {
    0%, 50% {
        opacity: 1;
        box-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
    }
    51%, 100% {
        opacity: 0;
        box-shadow: none;
    }
}

/* Typewriter Effect */
.typewriter {
    overflow: hidden;
    border-right: 3px solid #00BFFF;
    white-space: nowrap;
    animation: typing 0.1s steps(1, end);
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

/* Terminal Input Area */
.terminal-input-area {
    background: linear-gradient(135deg, rgba(37, 42, 72, 0.95) 0%, rgba(26, 26, 46, 0.95) 100%);
    padding: 12px 16px;
    border-top: 1px solid rgba(0, 191, 255, 0.3);
    display: flex;
    flex-direction: column;
    gap: 12px;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
    margin-top: auto;
}

.terminal-input-prompt {
    color: #00BFFF;
    font-weight: 700;
    flex-shrink: 0;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.terminal-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 8px;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 14px;
    flex: 1;
    outline: none;
    padding: 10px 14px;
    transition: all 0.3s ease;
}

.terminal-input::placeholder {
    color: #A0A0A0;
}

.terminal-input:focus {
    border-color: #00BFFF;
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.2), 0 0 15px rgba(0, 191, 255, 0.3);
    background: rgba(0, 0, 0, 0.4);
}

.terminal-send-btn {
    background: linear-gradient(135deg, #00BFFF 0%, #8A2BE2 100%);
    color: #FFFFFF;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.terminal-send-btn:hover {
    background: linear-gradient(135deg, #00FFFF 0%, #9A3BF2 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 191, 255, 0.5);
}

.terminal-send-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 191, 255, 0.3);
}

/* Loading Animation */
.terminal-loading {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #00BFFF;
}

.terminal-loading-dot {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #00BFFF 0%, #8A2BE2 100%);
    border-radius: 50%;
    animation: loading-pulse 1.4s infinite ease-in-out;
    box-shadow: 0 0 8px rgba(0, 191, 255, 0.5);
}

.terminal-loading-dot:nth-child(1) { animation-delay: -0.32s; }
.terminal-loading-dot:nth-child(2) { animation-delay: -0.16s; }
.terminal-loading-dot:nth-child(3) { animation-delay: 0s; }

@keyframes loading-pulse {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
        box-shadow: 0 0 4px rgba(0, 191, 255, 0.3);
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 12px rgba(0, 191, 255, 0.7);
    }
}

/* Search Status Indicators */
.search-status-line {
    background: rgba(0, 255, 255, 0.1);
    border-left: 4px solid #00FFFF;
    padding: 10px 16px;
    margin: 6px 0;
    border-radius: 0 8px 8px 0;
    animation: search-status-fade 0.5s ease-in;
    box-shadow: 0 2px 8px rgba(0, 255, 255, 0.2);
}

@keyframes search-status-fade {
    from {
        opacity: 0;
        transform: translateX(-15px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.search-thinking {
    background: linear-gradient(90deg,
        rgba(0, 255, 255, 0.1) 0%,
        rgba(0, 191, 255, 0.2) 50%,
        rgba(138, 43, 226, 0.1) 100%);
    background-size: 200% 100%;
    animation: search-thinking-wave 2s infinite;
}

@keyframes search-thinking-wave {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Live Internet Search Badge */
.live-search-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #00FFFF 0%, #00BFFF 100%);
    color: #1A1A2E;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 10px;
    animation: badge-pulse 2s infinite;
    box-shadow: 0 4px 12px rgba(0, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 255, 255, 0.7);
    }
}

.live-search-badge::before {
    content: "🌐";
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ChatGPT-like Response Styling */
.ai-response-enhanced {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.08) 0%, rgba(138, 43, 226, 0.05) 100%);
    border-left: 4px solid #8A2BE2;
    padding: 16px 20px;
    margin: 10px 0;
    border-radius: 0 12px 12px 0;
    position: relative;
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.2);
}

.ai-response-enhanced::before {
    content: "✨ Enhanced with live internet data";
    position: absolute;
    top: -10px;
    right: 16px;
    background: linear-gradient(135deg, #00BFFF 0%, #8A2BE2 100%);
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 191, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Search Progress Indicator */
.search-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 8px;
    margin: 6px 0;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.search-progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(0, 191, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.search-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00FFFF 0%, #00BFFF 50%, #8A2BE2 100%);
    border-radius: 3px;
    animation: progress-fill 3s ease-in-out;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

@keyframes progress-fill {
    from { width: 0%; }
    to { width: 100%; }
}

.search-progress-text {
    color: #00FFFF;
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

/* Terminal Modal Overlay */
.terminal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.terminal-modal.active {
    opacity: 1;
    visibility: visible;
}

.terminal-modal .terminal-window {
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.terminal-modal.active .terminal-window {
    transform: scale(1) translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .terminal-window {
        border-radius: 8px;
        font-size: 13px;
    }
    
    .terminal-header {
        padding: 10px 12px;
        border-radius: 8px 8px 0 0;
    }
    
    .terminal-content {
        padding: 16px;
        min-height: 300px;
        max-height: 400px;
    }
    
    .terminal-input-area {
        padding: 12px 16px;
    }
    
    .terminal-title {
        font-size: 12px;
    }
    
    .terminal-controls {
        gap: 6px;
    }
    
    .terminal-button {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .terminal-modal {
        padding: 10px;
    }
    
    .terminal-window {
        font-size: 12px;
    }
    
    .terminal-content {
        min-height: 250px;
        max-height: 350px;
        padding: 12px;
    }
    
    .terminal-input-area {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
    }
    
    .terminal-input {
        padding: 12px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 6px;
    }
    
    .terminal-send-btn {
        padding: 12px;
        border-radius: 6px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .terminal-cursor {
        animation: none;
    }
    
    .typewriter {
        animation: none;
        border-right: none;
    }
    
    .terminal-loading-dot {
        animation: none;
    }
    
    .terminal-modal,
    .terminal-window,
    .terminal-button {
        transition: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .terminal-window {
        border: 2px solid #ffffff;
    }
    
    .terminal-content {
        color: #ffffff;
    }
    
    .terminal-prompt.ai {
        color: #ffffff;
    }
    
    .terminal-cursor {
        background: #ffffff;
    }
}

/* Focus Styles for Accessibility */
.terminal-input:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.5);
    border-radius: 8px;
}

.terminal-send-btn:focus-visible {
    outline: 3px solid #00BFFF;
    outline-offset: 3px;
}

.terminal-button:focus-visible {
    outline: 3px solid #00FFFF;
    outline-offset: 3px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

.terminal-action-btn:focus-visible {
    outline: 3px solid #00BFFF;
    outline-offset: 3px;
}

/* Ideas Generator Terminal Styles */
.terminal-input-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.terminal-textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 191, 255, 0.3);
    border-radius: 10px;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 14px;
    flex: 1;
    outline: none;
    padding: 12px;
    resize: vertical;
    min-height: 150px;
    max-height: 300px;
    transition: all 0.3s ease;
    width: 100%;
    line-height: 1.5;
}

.terminal-textarea::placeholder {
    color: #A0A0A0;
}

.terminal-textarea:focus {
    border-color: #00BFFF;
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.2), 0 0 20px rgba(0, 191, 255, 0.3);
    background: rgba(0, 0, 0, 0.4);
}

.terminal-output {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(15, 52, 96, 0.2) 100%);
    border: 2px solid rgba(0, 191, 255, 0.2);
    border-radius: 12px;
    padding: 24px;
    max-height: 450px;
    overflow-y: auto;
    color: #FFFFFF;
    line-height: 1.7;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.terminal-output h4 {
    color: #00BFFF;
    font-size: 17px;
    font-weight: 700;
    margin: 20px 0 10px 0;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.terminal-output h4:first-child {
    margin-top: 0;
}

.terminal-output p {
    margin: 10px 0;
    color: #E0E0E0;
}

.terminal-output ul {
    margin: 10px 0;
    padding-left: 24px;
}

.terminal-output li {
    margin: 6px 0;
    color: #E0E0E0;
}

.terminal-output strong {
    color: #8A2BE2;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(138, 43, 226, 0.4);
}

.terminal-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.terminal-action-btn {
    background: rgba(37, 42, 72, 0.8);
    color: #FFFFFF;
    border: 2px solid rgba(0, 191, 255, 0.3);
    padding: 12px 20px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.terminal-action-btn:hover {
    background: rgba(37, 42, 72, 1);
    border-color: #00BFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 191, 255, 0.3);
}

.terminal-action-btn.primary {
    background: linear-gradient(135deg, #00BFFF 0%, #8A2BE2 100%);
    color: #FFFFFF;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.4);
}

.terminal-action-btn.primary:hover {
    background: linear-gradient(135deg, #00FFFF 0%, #9A3BF2 100%);
    box-shadow: 0 6px 20px rgba(0, 191, 255, 0.6);
}

.terminal-action-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 191, 255, 0.3);
}

/* Scroll Indicator - Subtle hint that content is scrollable */
.terminal-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(26, 26, 46, 0.95) 0%, transparent 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.terminal-content.has-scroll::after {
    opacity: 1;
}

/* Responsive adjustments for Ideas Generator */
@media (max-width: 768px) {
    .terminal-content {
        padding: 12px;
    }

    .terminal-input-area {
        padding: 10px 12px;
        gap: 10px;
    }

    .terminal-textarea {
        font-size: 13px;
        padding: 10px;
        min-height: 100px;
    }

    .terminal-output {
        padding: 12px;
        max-height: 300px;
    }

    .terminal-actions {
        flex-direction: column;
    }

    .terminal-action-btn {
        text-align: center;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .terminal-content {
        padding: 10px 12px;
    }

    .terminal-input-area {
        padding: 10px;
        gap: 8px;
    }

    .terminal-input-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .terminal-textarea {
        font-size: 13px;
        padding: 10px;
        min-height: 80px;
    }

    .terminal-send-btn {
        padding: 12px 20px;
        font-size: 13px;
    }

    .terminal-output {
        padding: 12px;
        max-height: 250px;
    }

    .terminal-output h4 {
        font-size: 14px;
    }
}

/* AI Capabilities Showcase */
.ai-capabilities-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.15) 0%, rgba(138, 43, 226, 0.15) 100%);
    border: 1px solid rgba(0, 191, 255, 0.3);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #00BFFF;
    margin: 4px;
    transition: all 0.3s ease;
}

.ai-capabilities-badge:hover {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.25) 0%, rgba(138, 43, 226, 0.25) 100%);
    border-color: #00BFFF;
    box-shadow: 0 4px 12px rgba(0, 191, 255, 0.3);
    transform: translateY(-2px);
}

.ai-capabilities-badge::before {
    content: "✨";
    font-size: 12px;
}

.ai-feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.ai-feature-item {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.08) 0%, rgba(138, 43, 226, 0.05) 100%);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 10px;
    padding: 14px;
    transition: all 0.3s ease;
}

.ai-feature-item:hover {
    border-color: #00BFFF;
    box-shadow: 0 4px 16px rgba(0, 191, 255, 0.2);
    transform: translateY(-2px);
}

.ai-feature-icon {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

.ai-feature-title {
    color: #00BFFF;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 0 8px rgba(0, 191, 255, 0.4);
}

.ai-feature-desc {
    color: #E0E0E0;
    font-size: 11px;
    line-height: 1.4;
}

/* Enhanced Glow Effects */
.terminal-glow-effect {
    position: relative;
}

.terminal-glow-effect::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #00BFFF 0%, #8A2BE2 100%);
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    filter: blur(10px);
    transition: opacity 0.3s ease;
}

.terminal-glow-effect:hover::before {
    opacity: 0.5;
}

/* Animated Background Pattern */
.terminal-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 191, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 191, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    opacity: 0.5;
}

/* Success/Error States */
.terminal-success {
    color: #00FF88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.terminal-error {
    color: #FF5555;
    text-shadow: 0 0 10px rgba(255, 85, 85, 0.5);
}

.terminal-warning {
    color: #FFB84D;
    text-shadow: 0 0 10px rgba(255, 184, 77, 0.5);
}

.terminal-info {
    color: #00BFFF;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}
