/* Agentic Commerce Blog Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #FAF9F4;
    min-height: 100vh;
}

.container-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Menu Bar */
.top-menu {
    background: #FFF;
    padding: 1rem 0;
}

.menu-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.menu-links {
    display: flex;
    gap: 2rem;
}

.menu-links a {
    color: #7f8c8d;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.menu-links a:hover,
.menu-links a.active {
    color: #2c3e50;
}

/* Header */
header {
    background: linear-gradient(180deg, white, #FAF9F4);
    padding: 2rem 0;
    top: 0;
    z-index: 100;
    text-align: center;
    text-decoration: none!important;
}

header a {
    text-decoration: none;
    color: inherit;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: fit-content;
    margin: 0 auto;
}

.logo-container {
    flex-shrink: 0;
}

.logo-video {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.header-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    text-align: left;
}

.header-content h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.subtitle {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 400;
    line-height: 1.3;
    font-family: monospace;
    letter-spacing: 0.5px;
}

/* Mode Toggle */
.mode-toggle {
    display: flex;
    background: white;
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    width: fit-content;
    border: 2px solid #e5e7eb;
}

.toggle-btn {
    padding: 12px 24px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #64748b;
    font-size: 0.95rem;
}

.toggle-btn.active {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* Main Content */
main {
    padding: 0;
}

.content-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Article Styles */
article {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

article h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #8B5CF6;
}

article h3 {
    font-size: 1.4rem;
    color: #34495e;
    margin: 1.5rem 0 0.75rem 0;
}

article p {
    margin-bottom: 1rem;
    color: #4a5568;
}

article ul, article ol {
    margin: 1rem 0 1rem 2rem;
    color: #4a5568;
}

article li {
    margin-bottom: 0.5rem;
}

/* Strategy Matrix */
.strategy-matrix {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    grid-template-rows: auto 1fr 1fr;
    gap: 0;
    margin: 2rem 0;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.matrix-header {
    background: #f8fafc;
    padding: 1rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid #e5e7eb;
    color: #475569;
    font-size: 0.9rem;
}

.matrix-label {
    background: #f8fafc;
    padding: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    color: #475569;
    font-size: 0.9rem;
}

.matrix-cell {
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.matrix-cell.strategy-a {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
}

.matrix-cell.strategy-b {
    background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 100%);
}

.matrix-cell.strategy-c {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
}

.matrix-cell.strategy-d {
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
}

.matrix-cell h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.strategy-a h4 { color: #1E40AF; }
.strategy-b h4 { color: #6D28D9; }
.strategy-c h4 { color: #C2410C; }
.strategy-d h4 { color: #166534; }

.matrix-cell p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* Callout Boxes */
.callout {
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border-left: 4px solid;
}

.callout-insight {
    background: #F5F3FF;
    border-color: #8B5CF6;
}

.callout-warning {
    background: #FEF3C7;
    border-color: #F59E0B;
}

.callout-success {
    background: #F0FDF4;
    border-color: #10B981;
}

.callout h4 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.callout p {
    margin: 0;
}

/* Experience Section */
.experience-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

.experience-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.experience-intro h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.experience-intro p {
    color: #64748b;
    font-size: 1.1rem;
}

/* Strategy Tabs */
.strategy-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.strategy-tab {
    padding: 12px 20px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 12px 12px 0 0;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #64748b;
    border-bottom: none;
}

.strategy-tab:hover {
    background: #f8fafc;
}

.strategy-tab.active {
    border-color: #8B5CF6;
    color: #8B5CF6;
    background: white;
    position: relative;
}

.strategy-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 4px;
    background: white;
}

/* Demo Panels */
.demo-panel {
    display: none;
    background: white;
    border: 2px solid #8B5CF6;
    border-radius: 0 16px 16px 16px;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.demo-panel.active {
    display: block;
}

.demo-header {
    margin-bottom: 1.5rem;
}

.demo-header h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.demo-header p {
    color: #64748b;
    font-size: 0.95rem;
}

/* ================================
   STRATEGY A: Brand Website Chat
   ================================ */
.brand-chat-container {
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    max-width: 500px;
    margin: 0 auto;
}

.brand-chat-header {
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #1E40AF;
    font-size: 0.7rem;
}

.brand-chat-header h4 {
    font-size: 1rem;
    margin: 0;
}

.brand-chat-header span {
    font-size: 0.8rem;
    opacity: 0.9;
}

.brand-chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.brand-msg {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
    animation: msgSlide 0.3s ease;
}

@keyframes msgSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.brand-msg.assistant {
    background: white;
    border: 1px solid #e5e7eb;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.brand-msg.user {
    background: #1E40AF;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.brand-chat-input {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.brand-chat-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    font-size: 0.9rem;
    outline: none;
}

.brand-chat-input input:focus {
    border-color: #3B82F6;
}

.brand-chat-input button {
    background: #1E40AF;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 24px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.brand-chat-input button:hover {
    background: #1E3A8A;
}

/* Product Card */
.product-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0.75rem;
}

.product-card-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.product-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.product-info h5 {
    font-size: 0.95rem;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.product-info .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #059669;
}

.product-info .rating {
    font-size: 0.8rem;
    color: #f59e0b;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.spec-tag {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.btn-product {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-product.primary {
    background: #1E40AF;
    color: white;
}

.btn-product.secondary {
    background: #e5e7eb;
    color: #374151;
}

/* ================================
   STRATEGY B: Autonomous Agent
   ================================ */
.agent-dashboard {
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.agent-header {
    background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.agent-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.agent-icon {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.agent-title h4 {
    font-size: 0.95rem;
    margin: 0;
    font-weight: 600;
}

.agent-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #a5f3fc;
    font-size: 0.8rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22d3ee;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.agent-body {
    padding: 1.5rem;
}

.agent-task-queue {
    margin-bottom: 1.5rem;
}

.task-label {
    color: #94a3b8;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.task-item {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: taskSlide 0.3s ease;
}

@keyframes taskSlide {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.task-status {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.task-status.complete {
    background: #059669;
    color: white;
}

.task-status.active {
    background: #7c3aed;
    color: white;
    animation: pulse 1s infinite;
}

.task-status.pending {
    background: #475569;
    color: #94a3b8;
}

.task-content {
    flex: 1;
}

.task-content h5 {
    color: #f1f5f9;
    font-size: 0.85rem;
    margin: 0 0 0.25rem 0;
    font-weight: 500;
}

.task-content p {
    color: #64748b;
    font-size: 0.75rem;
    margin: 0;
}

.agent-log {
    background: #1e293b;
    border-radius: 8px;
    padding: 1rem;
    max-height: 200px;
    overflow-y: auto;
}

.log-entry {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    display: flex;
    gap: 0.75rem;
}

.log-time {
    color: #64748b;
    min-width: 60px;
}

.log-msg {
    color: #a5f3fc;
}

.log-msg.success { color: #4ade80; }
.log-msg.warning { color: #fbbf24; }
.log-msg.info { color: #94a3b8; }

.agent-results {
    margin-top: 1.5rem;
    background: #1e293b;
    border-radius: 8px;
    padding: 1rem;
}

.result-card {
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.result-card.recommended {
    border-color: #7c3aed;
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.5rem;
}

.result-header h5 {
    color: #f1f5f9;
    font-size: 0.9rem;
    margin: 0;
}

.result-badge {
    background: #7c3aed;
    color: white;
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.result-price {
    color: #4ade80;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.result-meta {
    color: #64748b;
    font-size: 0.75rem;
}

.agent-action {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%);
    border-radius: 8px;
    text-align: center;
}

.agent-action p {
    color: #e9d5ff;
    font-size: 0.8rem;
    margin: 0 0 0.75rem 0;
}

.agent-action button {
    background: white;
    color: #7c3aed;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
    transition: transform 0.2s;
}

.agent-action button:hover {
    transform: scale(1.02);
}

/* ================================
   STRATEGY C: ChatGPT Style
   ================================ */
.chatgpt-container {
    display: flex;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #374151;
    max-width: 700px;
    margin: 0 auto;
}

.chatgpt-sidebar {
    width: 200px;
    background: #171717;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.chatgpt-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    padding: 0.5rem;
    margin-bottom: 1rem;
}

.chatgpt-logo-icon {
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatgpt-logo-icon svg {
    width: 18px;
    height: 18px;
}

.chatgpt-logo span {
    font-size: 0.95rem;
    font-weight: 600;
}

.chatgpt-new-chat {
    background: transparent;
    border: 1px solid #4b5563;
    color: white;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.chatgpt-history {
    flex: 1;
    overflow-y: auto;
}

.chatgpt-history-item {
    color: #9ca3af;
    padding: 0.5rem;
    font-size: 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chatgpt-history-item:hover {
    background: #262626;
}

.chatgpt-history-item.active {
    background: #262626;
    color: white;
}

.chatgpt-main {
    flex: 1;
    background: #212121;
    display: flex;
    flex-direction: column;
}

.chatgpt-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chatgpt-msg {
    display: flex;
    gap: 1rem;
    max-width: 100%;
}

.chatgpt-avatar {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.chatgpt-avatar.gpt {
    background: #19C37D;
    color: white;
}

.chatgpt-avatar.user {
    background: #9333ea;
    color: white;
}

.chatgpt-msg-content {
    color: #ececec;
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}

.chatgpt-msg-content p {
    margin: 0 0 0.75rem 0;
}

.chatgpt-msg-content p:last-child {
    margin-bottom: 0;
}

.chatgpt-input-area {
    padding: 1rem 1.5rem 1.5rem;
}

.chatgpt-input-wrapper {
    background: #2f2f2f;
    border: 1px solid #4b5563;
    border-radius: 24px;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
}

.chatgpt-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 0.9rem;
    padding: 0.5rem;
    outline: none;
}

.chatgpt-input-wrapper input::placeholder {
    color: #6b7280;
}

.chatgpt-send {
    background: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatgpt-limitation {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-top: 0.75rem;
}

.chatgpt-limitation p {
    color: #92400e;
    font-size: 0.8rem;
    margin: 0;
}

/* ================================
   STRATEGY D: Gemini Style
   ================================ */
.gemini-container {
    background: #1a1a2e;
    border-radius: 16px;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}

.gemini-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #2d2d44;
}

.gemini-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.gemini-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #4285f4 0%, #9b72cb 50%, #d96570 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gemini-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.gemini-logo span {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
}

.gemini-model-select {
    background: #2d2d44;
    color: #a5b4fc;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.gemini-messages {
    height: 380px;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.gemini-msg {
    display: flex;
    gap: 1rem;
    animation: geminiSlide 0.4s ease;
}

@keyframes geminiSlide {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.gemini-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gemini-avatar.ai {
    background: linear-gradient(135deg, #4285f4 0%, #9b72cb 50%, #d96570 100%);
}

.gemini-avatar.ai svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.gemini-avatar.user {
    background: #4f46e5;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
}

.gemini-msg-content {
    flex: 1;
    color: #e5e7eb;
    font-size: 0.9rem;
    line-height: 1.7;
}

.gemini-msg-content p {
    margin: 0 0 0.75rem 0;
}

.gemini-comparison-table {
    background: #2d2d44;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 1rem;
}

.gemini-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background: #3d3d5c;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    color: #a5b4fc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gemini-table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 0.75rem 1rem;
    border-top: 1px solid #3d3d5c;
    font-size: 0.85rem;
    color: #e5e7eb;
}

.gemini-table-row.best {
    background: linear-gradient(90deg, rgba(74, 222, 128, 0.1) 0%, transparent 100%);
}

.gemini-table-row .brand {
    font-weight: 500;
}

.gemini-table-row .best-badge {
    background: #059669;
    color: white;
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    margin-left: 0.5rem;
}

.gemini-ucp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4285f4 0%, #9b72cb 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 1rem;
}

.gemini-input-area {
    padding: 1rem 1.5rem 1.5rem;
    background: #16213e;
}

.gemini-input-wrapper {
    background: #2d2d44;
    border-radius: 24px;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 1px solid #3d3d5c;
}

.gemini-input-wrapper:focus-within {
    border-color: #4285f4;
}

.gemini-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 0.9rem;
    padding: 0.5rem;
    outline: none;
}

.gemini-input-wrapper input::placeholder {
    color: #6b7280;
}

.gemini-send {
    background: linear-gradient(135deg, #4285f4 0%, #9b72cb 100%);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.gemini-send:hover {
    transform: scale(1.05);
}

.gemini-send svg {
    width: 18px;
    height: 18px;
    fill: white;
}

/* Quick Prompts */
.quick-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.quick-prompt {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    color: #475569;
}

.quick-prompt:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

/* Explanation Boxes */
.explanation-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.explanation-box h4 {
    color: #1e293b;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.explanation-box p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.explanation-box ul {
    margin: 0.75rem 0 0 1.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.explanation-box li {
    margin-bottom: 0.5rem;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.comparison-table th {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.9rem;
    color: #4a5568;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background: #f8fafc;
}

.priority-high {
    color: #059669;
    font-weight: 600;
}

.priority-low {
    color: #dc2626;
    font-weight: 600;
}

/* Footer */
footer {
    background: #FAF9F4;
    text-align: center;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #333;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 0.5rem;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #94a3b8;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-8px); }
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-content h1 {
        font-size: 1.8rem;
    }
    
    .header-text {
        text-align: center;
    }
    
    .strategy-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .strategy-tab {
        border-radius: 8px;
        border: 2px solid #e5e7eb !important;
    }
    
    .demo-panel {
        border-radius: 16px;
        padding: 1rem;
    }
    
    .chatgpt-sidebar {
        display: none;
    }
    
    .strategy-matrix {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .matrix-header,
    .matrix-label {
        display: none;
    }
    
    .matrix-cell {
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }
    
    .agent-dashboard,
    .gemini-container,
    .chatgpt-container {
        max-width: 100%;
    }
    
    article {
        padding: 1rem;
    }
}
