/**
 * VigthoriaProducts.css - Unified Product Area Styles
 * Consolidated from enhanced-product-animations.css and related files
 */

/* ===============================
   MAIN PRODUCT SECTION STYLES
   =============================== */

.vigthoria-products-section {
    padding: 80px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.vigthoria-products-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-primary);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ===============================
   PRODUCT CARD LAYOUT
   =============================== */

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px 40px -15px;
    gap: 0;
}

.col {
    flex: 1;
    min-width: 300px;
    padding: 0 15px;
    margin-bottom: 30px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.animated-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.image-overlay-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(108, 99, 255, 0.1) 0%, 
        rgba(0, 191, 166, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.product-card:hover .image-overlay-effect {
    opacity: 1;
}

.image-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 60%,
        transparent 100%
    );
    transform: rotate(45deg);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 3;
}

.product-card:hover .image-shine {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.product-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.product-url {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
    display: block;
}

.product-description {
    color: var(--text-primary);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-primary);
    opacity: 0.9;
}

.feature-list i {
    color: var(--secondary-color);
    margin-right: 12px;
    font-size: 0.8rem;
    min-width: 16px;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-primary, .btn-secondary {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

/* ===============================
   ANIMATION CONTAINERS
   =============================== */

.animated-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.9) 0%, 
        rgba(30, 41, 59, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===============================
   OPERATOR ANIMATION STYLES
   =============================== */

.operator-animation-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.9) 100%);
    border-radius: 8px;
}

.operator-dashboard {
    width: 100%;
    height: 100%;
    padding: 10px;
    color: #f8fafc;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    overflow: hidden;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(108, 99, 255, 0.3);
}

.dashboard-title {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.dashboard-status {
    color: var(--secondary-color);
    font-size: 0.7rem;
}

.dashboard-content {
    height: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.control-section {
    flex: 1;
    min-height: 0;
}

.section-title {
    font-size: 0.7rem;
    color: #e2e8f0;
    margin-bottom: 5px;
    font-weight: 500;
}

.system-metrics, .resource-meters {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric, .resource {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
}

.metric-label, .resource-label {
    min-width: 50px;
    color: #cbd5e1;
    font-size: 0.6rem;
}

.metric-bar, .resource-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.metric-fill, .resource-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    width: 0%;
    transition: width 2s ease;
}

.metric-value, .resource-value {
    min-width: 25px;
    text-align: right;
    font-size: 0.6rem;
    color: var(--secondary-color);
}

.orchestration-diagram {
    position: relative;
    height: 60px;
    margin: 8px 0;
}

.central-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.6rem;
    font-weight: 600;
    z-index: 3;
}

.satellite-node {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--secondary-color);
    color: #e2e8f0;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 0.55rem;
    z-index: 2;
}

.node-1 { top: 5px; left: 20%; }
.node-2 { top: 5px; right: 20%; }
.node-3 { bottom: 5px; left: 20%; }
.node-4 { bottom: 5px; right: 20%; }

.connection-line {
    position: absolute;
    background: rgba(108, 99, 255, 0.3);
    z-index: 1;
}

.connection-1 {
    top: 25px;
    left: 30%;
    width: 20%;
    height: 1px;
    transform: rotate(-20deg);
}

.connection-2 {
    top: 25px;
    right: 30%;
    width: 20%;
    height: 1px;
    transform: rotate(20deg);
}

.connection-3 {
    bottom: 25px;
    left: 30%;
    width: 20%;
    height: 1px;
    transform: rotate(20deg);
}

.connection-4 {
    bottom: 25px;
    right: 30%;
    width: 20%;
    height: 1px;
    transform: rotate(-20deg);
}

.data-flow {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0;
    animation: dataFlow 3s ease-in-out infinite;
}

.flow-1 { top: 25px; left: 35%; animation-delay: 0s; }
.flow-2 { top: 25px; right: 35%; animation-delay: 0.5s; }
.flow-3 { bottom: 25px; left: 35%; animation-delay: 1s; }
.flow-4 { bottom: 25px; right: 35%; animation-delay: 1.5s; }

.activity-log {
    max-height: 40px;
    overflow: hidden;
}

.log-entries {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.log-entry {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6rem;
    padding: 2px 0;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.timestamp {
    color: #64748b;
    font-family: monospace;
}

.entry-type {
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 0.55rem;
    font-weight: 600;
}

.entry-type.success {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.entry-type.info {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.entry-type.warning {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.log-entry.new-entry {
    opacity: 0;
    transform: translateY(-10px);
}

/* ===============================
   CODER ANIMATION STYLES
   =============================== */

.coder-animation-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.9) 100%);
    border-radius: 8px;
}

.code-editor-interface {
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Monaco', 'Menlo', monospace;
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(30, 41, 59, 0.8);
    padding: 6px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-bar {
    display: flex;
    gap: 5px;
}

.tab {
    padding: 4px 8px;
    font-size: 0.7rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab.active {
    background: var(--primary-color);
    color: white;
}

.editor-controls {
    display: flex;
    gap: 8px;
}

.control {
    color: #64748b;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 0.8rem;
}

.control:hover {
    color: var(--primary-color);
}

.editor-body {
    padding: 10px;
    height: calc(100% - 40px);
    overflow: hidden;
    position: relative;
}

.code-content {
    font-size: 0.65rem;
    line-height: 1.4;
    color: #e2e8f0;
}

.code-line {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
    opacity: 0;
    transform: translateX(-20px);
    animation: codeLineAppear 0.5s ease forwards;
}

.line-number {
    color: #64748b;
    min-width: 20px;
    margin-right: 10px;
    font-size: 0.6rem;
}

.code-text {
    flex: 1;
}

.keyword {
    color: #f472b6;
    font-weight: 600;
}

.string {
    color: #34d399;
}

.comment {
    color: #64748b;
    font-style: italic;
}

.function {
    color: #60a5fa;
}

.variable {
    color: #fbbf24;
}

.typing-cursor {
    display: inline-block;
    width: 8px;
    height: 12px;
    background: var(--primary-color);
    animation: blink 1s infinite;
    margin-left: 2px;
}

.ai-suggestion {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    padding: 6px;
    font-size: 0.6rem;
    color: var(--primary-color);
    opacity: 0;
    animation: suggestionFadeIn 0.5s ease 2s forwards;
}

/* ===============================
   LLM CHAT ANIMATION STYLES
   =============================== */

.llm-chat-animation-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.9) 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.chat-interface {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

.model-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    color: #cbd5e1;
}

.model-name {
    color: var(--secondary-color);
    font-weight: 500;
}

.chat-messages {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.message {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(10px);
    animation: messageSlideIn 0.5s ease forwards;
}

.message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: white;
    flex-shrink: 0;
}

.message.user .message-avatar {
    background: var(--secondary-color);
}

.message-content {
    flex: 1;
    max-width: 80%;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.message-sender {
    font-size: 0.6rem;
    font-weight: 600;
    color: #cbd5e1;
}

.message-time {
    font-size: 0.55rem;
    color: #64748b;
}

.message-text {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 0.65rem;
    line-height: 1.4;
    color: #e2e8f0;
}

.message.user .message-text {
    background: rgba(108, 99, 255, 0.2);
}

.typing-indicator {
    display: flex;
    gap: 2px;
    align-items: center;
    padding: 6px 8px;
}

.dot {
    width: 4px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: typingDot 1.4s ease-in-out infinite;
}

.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

.chat-input-area {
    padding: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.input-container {
    display: flex;
    gap: 6px;
    align-items: flex-end;
}

.chat-input {
    flex: 1;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 6px 8px;
    color: #e2e8f0;
    font-size: 0.65rem;
    resize: none;
    min-height: 20px;
    max-height: 40px;
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.input-buttons {
    display: flex;
    gap: 4px;
}

.attach-button, .send-button {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
}

.send-button {
    background: var(--primary-color);
    color: white;
}

.send-button:hover {
    background: var(--secondary-color);
}

.input-features {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
}

.feature {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature:hover {
    background: var(--primary-color);
    color: white;
}

/* ===============================
   APP ANIMATION STYLES
   =============================== */

.app-animation-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.9) 100%);
    border-radius: 8px;
}

.devices-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px;
    gap: 8px;
}

.device {
    border-radius: 8px;
    overflow: hidden;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.device.desktop {
    width: 45%;
    height: 85%;
}

.device.tablet {
    width: 25%;
    height: 70%;
}

.device.mobile {
    width: 20%;
    height: 60%;
}

.device-frame {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.device-header {
    height: 16px;
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    align-items: center;
    padding: 0 6px;
    flex-shrink: 0;
}

.window-controls {
    display: flex;
    gap: 3px;
}

.control {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #64748b;
}

.control:first-child { background: #ef4444; }
.control:nth-child(2) { background: #f59e0b; }
.control:nth-child(3) { background: #10b981; }

.mobile-notch, .tablet-notch {
    width: 40px;
    height: 12px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 0 0 8px 8px;
    margin: 0 auto;
}

.device-screen {
    flex: 1;
    background: rgba(15, 23, 42, 0.9);
    overflow: hidden;
}

.app-interface {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-size: 0.6rem;
    color: #e2e8f0;
}

.app-sidebar {
    width: 100%;
    background: rgba(30, 41, 59, 0.8);
    padding: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-item {
    padding: 3px 6px;
    border-radius: 3px;
    margin-bottom: 2px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 0.55rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sidebar-item.active {
    background: var(--primary-color);
    color: white;
}

.app-content {
    flex: 1;
    padding: 6px;
    overflow: hidden;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-title {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--primary-color);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.55rem;
}

.notification-icon {
    color: var(--secondary-color);
}

.user-avatar {
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.5rem;
    font-weight: 600;
}

.dashboard-stats {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}

.stat-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 4px;
    text-align: center;
}

.stat-value {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.5rem;
    color: #cbd5e1;
    margin-top: 1px;
}

.sync-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.6rem;
    color: #cbd5e1;
}

.sync-icon {
    color: var(--secondary-color);
    animation: rotate 2s linear infinite;
}

.sync-dots {
    display: flex;
    gap: 2px;
}

.sync-dot {
    width: 3px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: syncPulse 1.5s ease-in-out infinite;
}

.sync-dot:nth-child(2) { animation-delay: 0.3s; }
.sync-dot:nth-child(3) { animation-delay: 0.6s; }

/* ===============================
   AGENT ANIMATION STYLES
   =============================== */

.agent-animation-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.9) 100%);
    border-radius: 8px;
}

.agent-interface {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    color: #e2e8f0;
    font-family: 'Rajdhani', sans-serif;
}

.agent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.agent-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

.agent-status {
    font-size: 0.6rem;
    color: var(--secondary-color);
    padding: 2px 6px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 10px;
}

.agent-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.agent-avatar {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    animation: pulse 2s ease-in-out infinite;
}

.avatar-ring.outer {
    width: 50px;
    height: 50px;
    border-color: rgba(108, 99, 255, 0.3);
    animation-delay: 0s;
}

.avatar-ring.middle {
    width: 35px;
    height: 35px;
    border-color: rgba(108, 99, 255, 0.5);
    animation-delay: 0.5s;
}

.avatar-ring.inner {
    width: 20px;
    height: 20px;
    border-color: var(--primary-color);
    animation-delay: 1s;
}

.avatar-icon {
    position: relative;
    z-index: 5;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.agent-capabilities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    max-width: 200px;
}

.capability {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px;
    text-align: center;
    font-size: 0.6rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    animation: capabilityAppear 0.5s ease forwards;
}

.capability:nth-child(1) { animation-delay: 0.2s; }
.capability:nth-child(2) { animation-delay: 0.4s; }
.capability:nth-child(3) { animation-delay: 0.6s; }
.capability:nth-child(4) { animation-delay: 0.8s; }

.capability:hover {
    border-color: var(--primary-color);
    background: rgba(108, 99, 255, 0.1);
}

.capability-icon {
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin-bottom: 3px;
}

.capability-text {
    color: #cbd5e1;
    font-size: 0.55rem;
}

/* ===============================
   NAVIGATOR ANIMATION STYLES
   =============================== */

.navigator-animation-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.9) 100%);
    border-radius: 8px;
}

.browser-interface {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 8px;
    overflow: hidden;
}

.browser-header {
    background: rgba(30, 41, 59, 0.8);
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-controls {
    display: flex;
    gap: 4px;
}

.browser-button {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: background 0.3s ease;
}

.browser-button:hover {
    background: var(--primary-color);
    color: white;
}

.address-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 0.6rem;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.security-icon {
    color: var(--secondary-color);
    font-size: 0.55rem;
}

.browser-content {
    flex: 1;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-results {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-result {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 4px 6px;
    font-size: 0.6rem;
    opacity: 0;
    transform: translateY(10px);
    animation: resultAppear 0.5s ease forwards;
}

.search-result:nth-child(1) { animation-delay: 0.2s; }
.search-result:nth-child(2) { animation-delay: 0.4s; }
.search-result:nth-child(3) { animation-delay: 0.6s; }

.result-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2px;
}

.result-url {
    color: var(--secondary-color);
    font-size: 0.55rem;
    margin-bottom: 2px;
}

.result-snippet {
    color: #cbd5e1;
    font-size: 0.55rem;
    line-height: 1.3;
}

.ai-assistant-panel {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    padding: 6px;
    font-size: 0.6rem;
    color: #e2e8f0;
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
    transition: all 0.3s ease;
}

.ai-assistant-panel.expanded {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.assistant-header {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
    color: var(--primary-color);
    font-weight: 600;
}

.assistant-icon {
    font-size: 0.7rem;
}

.assistant-message {
    background: rgba(108, 99, 255, 0.1);
    border-radius: 4px;
    padding: 4px;
    margin-bottom: 4px;
    font-size: 0.55rem;
    line-height: 1.3;
    opacity: 0;
    animation: messageAppear 0.5s ease forwards;
}

.suggestion-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    padding: 2px 4px;
    margin-bottom: 2px;
    font-size: 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
    opacity: 0;
    animation: suggestionAppear 0.3s ease forwards;
}

.suggestion-item:hover {
    background: var(--primary-color);
}

/* ===============================
   CONTENT BOARD STYLES
   =============================== */

.content-board-animation-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.9) 100%);
    border-radius: 8px;
}

.content-dashboard {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 8px;
    color: #e2e8f0;
    font-size: 0.65rem;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
}

.content-status {
    font-size: 0.6rem;
    color: var(--secondary-color);
}

.content-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.content-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transform: scale(0.9);
    animation: itemScale 0.5s ease forwards;
}

.content-item:nth-child(1) { animation-delay: 0.1s; }
.content-item:nth-child(2) { animation-delay: 0.2s; }
.content-item:nth-child(3) { animation-delay: 0.3s; }
.content-item:nth-child(4) { animation-delay: 0.4s; }

.item-type {
    font-size: 0.55rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.item-title {
    font-size: 0.6rem;
    color: #e2e8f0;
    font-weight: 500;
}

.item-status {
    font-size: 0.5rem;
    color: #94a3b8;
}

.progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    width: 0%;
    transition: width 1.5s ease;
}

/* ===============================
   MODEL STUDIO STYLES
   =============================== */

.model-studio-animation-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.9) 100%);
    border-radius: 8px;
}

.studio-interface {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 8px;
    color: #e2e8f0;
    font-size: 0.65rem;
}

.studio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.studio-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
}

.model-status {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6rem;
}

.status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary-color);
    animation: pulse 2s ease-in-out infinite;
}

.training-dashboard {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.training-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 4px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.metric-label {
    font-size: 0.55rem;
    color: #94a3b8;
}

.metric-value {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.training-graph {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 6px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 2px;
    min-height: 40px;
}

.graph-bar {
    background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    width: 8px;
    min-height: 8px;
    opacity: 0;
    animation: barGrow 0.8s ease forwards;
}

.graph-bar:nth-child(1) { animation-delay: 0.1s; }
.graph-bar:nth-child(2) { animation-delay: 0.2s; }
.graph-bar:nth-child(3) { animation-delay: 0.3s; }
.graph-bar:nth-child(4) { animation-delay: 0.4s; }
.graph-bar:nth-child(5) { animation-delay: 0.5s; }
.graph-bar:nth-child(6) { animation-delay: 0.6s; }

/* ===============================
   ANIMATIONS KEYFRAMES
   =============================== */

@keyframes dataFlow {
    0% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0); }
}

@keyframes codeLineAppear {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes suggestionFadeIn {
    to {
        opacity: 1;
    }
}

@keyframes messageSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes syncPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes capabilityAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes resultAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes messageAppear {
    to {
        opacity: 1;
    }
}

@keyframes suggestionAppear {
    to {
        opacity: 1;
    }
}

@keyframes itemScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes barGrow {
    to {
        opacity: 1;
    }
}

/* ===============================
   REVEAL ANIMATIONS
   =============================== */

.reveal-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal-animation.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */

@media (max-width: 768px) {
    .vigthoria-products-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    .row {
        flex-direction: column;
        margin: 0 0 30px 0;
    }
    
    .col {
        padding: 0;
        margin-bottom: 20px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-content {
        padding: 20px;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .devices-container {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    
    .device.desktop {
        width: 100%;
        height: 60px;
    }
    
    .device.tablet {
        width: 80%;
        height: 50px;
        align-self: center;
    }
    
    .device.mobile {
        width: 60%;
        height: 40px;
        align-self: center;
    }
}

@media (max-width: 480px) {
    .vigthoria-products-section .container {
        padding: 0 15px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .product-image {
        height: 150px;
    }
    
    .feature-list li {
        font-size: 0.85rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

/* ===============================
   THEME COMPATIBILITY
   =============================== */

[data-theme="light"] .vigthoria-products-section {
    background: var(--light-bg);
}

[data-theme="light"] .product-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .product-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .animated-placeholder {
    background: linear-gradient(135deg, 
        rgba(248, 250, 252, 0.9) 0%, 
        rgba(241, 245, 249, 0.8) 100%);
}

[data-theme="light"] .operator-dashboard,
[data-theme="light"] .code-editor-interface,
[data-theme="light"] .chat-interface,
[data-theme="light"] .browser-interface,
[data-theme="light"] .content-dashboard,
[data-theme="light"] .studio-interface {
    background: rgba(248, 250, 252, 0.9);
    color: var(--dark-text);
}

[data-theme="light"] .log-entry,
[data-theme="light"] .code-line,
[data-theme="light"] .message-text,
[data-theme="light"] .search-result {
    color: var(--dark-text);
}

/* ===============================
   PERFORMANCE OPTIMIZATIONS
   =============================== */

.animated-placeholder * {
    will-change: transform, opacity;
}

.product-card {
    contain: layout style paint;
}

@media (prefers-reduced-motion: reduce) {
    .animated-placeholder *,
    .product-card,
    .reveal-animation {
        animation: none !important;
        transition: none !important;
    }
}
