/* Home Page Styles - Engine BPS Smart Assistant */

/* CSS Variables */
:root {
    --primary: #667eea;
    --primary-dark: #5a67d8;
    --success: #22c55e;
    --success-dark: #16a34a;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

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

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    height: 100vh; /* Fixed height */
    overflow: hidden; /* No body scroll */
    display: flex;
    flex-direction: column;
}

/* Header */
/* Header - Fixed at top */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #e5e5e5;
    flex-shrink: 0; /* Prevents shrinking */
    background: white;
    z-index: 50;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 18px;
    color: #171717;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: #525252;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #171717;
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #171717;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #404040;
}

.btn-secondary {
    background: white;
    color: #171717;
    border: 1px solid #e5e5e5;
}

.btn-secondary:hover {
    background: #f5f5f5;
}

.btn-save {
    background: #22c55e;
    color: white;
}

.btn-remove {
    background: #ef4444;
    color: white;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 8px;
}

/* Main Content - Chat-like Layout */
/* Main Content - Scroll Container */
.main-content {
    flex: 1;
    display: block; /* Use block to allow proper scrolling behavior */
    width: 100%;
    height: calc(100vh - 80px); /* Fixed height */
    overflow-y: auto; /* Scrollbar at the right edge */
    overflow-x: hidden;
    padding: 0;
}

/* Chat wrapper - Centered Content */
.chat-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 900px;
    min-height: 100%; /* Ensure full height */
    margin: 0 auto; /* Center horizontally */
    padding: 20px 24px 0 24px;
}

.hero-title {
    font-size: 36px;
    font-weight: 600;
    color: #171717;
    color: #171717;
    margin-bottom: 0;
    text-align: center;
    transition: opacity 0.3s ease;
}

.hero-container {
    flex: 1;
    display: flex;
    flex-direction: column; /* Stack items vertically */
    justify-content: center;
    align-items: center;
    min-height: 200px;
    padding-bottom: 100px; /* Push it up slightly from center */
    gap: 20px; /* Add spacing between title and button */
}

.hero-container.hidden {
    display: none;
}

/* Typed.js Cursor */
.typed-cursor {
    color: #667eea;
    font-weight: 300;
}

.hero-title.hidden {
    display: none;
}

/* User Chat Bubble */
.user-message-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 24px;
    margin-left: auto;
    max-width: 80%;
}

.user-message {
    background: #f3f4f6;
    color: #1f2937;
    padding: 12px 16px;
    border-radius: 12px 12px 2px 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    white-space: pre-wrap;
    font-size: 15px;
    line-height: 1.5;
}

.message-actions {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    margin-right: 4px;
    opacity: 1;
}

.user-message-wrapper:hover .message-actions {
    opacity: 1;
}

.action-btn {
    background: transparent;
    border: none;
    padding: 4px;
    border-radius: 4px;
    cursor: pointer;
    color: #9ca3af;
    transition: all 0.2s;
}

.action-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #374151;
}

.action-btn.copied {
    color: #10b981;
}

/* Input Container - Sticky at bottom */
/* Input Container - Sticky at bottom */
.input-container {
    width: 100%;
    max-width: 900px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 24px;
    padding: 16px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    z-index: 10;
    margin-top: auto;
    margin-bottom: 24px;
    position: sticky; /* Make sticky again */
    bottom: 0;       /* Stick to bottom of viewport */
}

.input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.text-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: inherit;
    resize: none;
    min-height: 24px;
    max-height: 200px;
    color: #171717;
}

.text-input::placeholder {
    color: #a3a3a3;
}

.input-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Action Chips */
.action-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    font-size: 13px;
    color: #525252;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.chip:hover {
    background: #f5f5f5;
    border-color: #d4d4d4;
}

.chip svg {
    width: 16px;
    height: 16px;
}

/* Submit Button */
.submit-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #171717;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.submit-btn:hover {
    background: #404040;
}

.submit-btn:disabled {
    background: #d4d4d4;
    cursor: not-allowed;
}

.submit-btn svg {
    width: 20px;
    height: 20px;
}

/* Agent Mode Toggle */
.agent-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #e5e5e5;
    border-radius: 24px;
    transition: 0.3s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
    background: #667eea;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.toggle-label {
    font-size: 13px;
    color: #525252;
}

/* Results Section */
.results-container {
    width: 100%;
    max-width: 900px;
    flex: 1;
    /* Remove overflow - let main content scroll */
    padding: 16px 0;
    display: none;
}

.results-container.active {
    display: block;
}

/* Loading - Also appears in scrollable area */
/* Minimalist Loader (Gemini Style) */
/* Minimalist Loader (Left Aligned Horizontal) */
.loading {
    display: none;
    /* Align to left, no big padding */
    padding: 24px 0;
    width: 100%;
    margin-top: 10px;
}

.loading.active {
    display: flex;
    justify-content: flex-start; /* Left align */
}

/* Container for loader + text in a row */
.gemini-loader-container {
    display: flex;
    flex-direction: row; /* Horizontal */
    align-items: center;
    gap: 12px;
}

/* Smaller loader icon */
.gemini-loader {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    animation: aiPulse 1.5s ease-in-out infinite, aiSpin 3s linear infinite;
    box-shadow: 
        0 0 15px rgba(102, 126, 234, 0.5),
        0 0 30px rgba(118, 75, 162, 0.3),
        0 0 45px rgba(240, 147, 251, 0.2);
}

.gemini-loader::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
}

.gemini-loader::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    animation: sparkle 1s ease-in-out infinite alternate;
}

@keyframes aiPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes aiSpin {
    from { filter: hue-rotate(0deg); }
    to { filter: hue-rotate(360deg); }
}

@keyframes sparkle {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.loading-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.loading-text {
    font-size: 14px;
    color: #374151;
    margin: 0;
    font-weight: 500;
} 
/* Submit button becoming stop button styling */
.submit-btn svg {
    transition: transform 0.2s;
}

.submit-btn.stop-mode {
    background-color: #ef4444; /* Red for stop */
    color: white;
}
.submit-btn.stop-mode:hover {
    background-color: #dc2626;
}

/* Result & Issue Cards */
.result-card, .issue-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--gray-200);
}

.result-header {
    background: var(--gray-50);
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-title {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 1.1rem;
}

.result-content {
    padding: 24px;
    line-height: 1.6;
    color: var(--gray-700);
}

.issue-card {
    animation: slideIn 0.3s ease-out;
    padding: 24px;
}

.issue-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.issue-title-label {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

/* Form Elements */
.issue-field {
    margin-bottom: 16px;
}

.issue-field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--gray-900);
    background-color: white;
    transition: all 0.2s;
    font-family: inherit;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.markdown-preview {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #f9fafb;
    font-size: 14px;
    line-height: 1.6;
}

/* Image Preview */
.image-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 4px;
    margin-bottom: 8px; /* Give space above textarea */
}

.image-thumbnail-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: visible; /* Allow button to overflow */
}

.image-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.remove-image-btn {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    border: 2px solid white; /* Border to separate from image */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 10;
}

.image-thumbnail-wrapper:hover .remove-image-btn {
    opacity: 1;
}

.remove-image-btn:hover {
    transform: scale(1.1);
    background: #dc2626;
}

.image-name-tooltip {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 20;
}

.image-thumbnail-wrapper:hover .image-name-tooltip {
    opacity: 1;
    cursor: pointer; /* Click to edit */
}

/* Markdown Content Styling */
.markdown-preview p { margin-bottom: 0.8em; }
.markdown-preview ul, .markdown-preview ol { margin-left: 1.5em; margin-bottom: 0.8em; }
.markdown-preview h1, .markdown-preview h2, .markdown-preview h3 { font-weight: 600; margin-top: 1em; margin-bottom: 0.5em; }
.markdown-preview pre { background: #e5e7eb; padding: 8px; border-radius: 6px; overflow-x: auto; font-size: 0.9em; font-family: monospace; }
.markdown-preview strong { font-weight: 600; color: #111827; }

.toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #667eea;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}
.toggle-btn:hover { text-decoration: underline; }

/* Grid Layouts */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .form-grid-2, .form-grid-3 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Buttons inside form */
.issue-footer {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-xs {
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    border-radius: 16px !important;
}

.btn-remove {
    background: #fee2e2;
    color: #991b1b;
    border: none !important;
    cursor: pointer;
}

.btn-remove:hover {
    background: #fecaca;
    color: #7f1d1d;
}

.btn-save {
    background: #22c55e !important;
    color: white !important;
    font-weight: 600;
    border: none !important;
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.3);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-save:hover {
    background: #16a34a !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(34, 197, 94, 0.4);
}

.btn-save:disabled {
    background: #a7f3d0 !important;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Badges */
.result-badge {
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-info { background: #dbeafe; color: #1e40af; }
.badge-success { background: #dcfce7; color: #166534; }
.badge-secondary { background: #f3f4f6; color: #374151; }
.badge-danger { background: #fee2e2; color: #991b1b; }

/* Animation */
@keyframes slideIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.result-card {
    background: #f9fafb;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.result-title {
    font-weight: 600;
    color: #171717;
}

.result-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.badge-success {
    background: #dcfce7;
    color: #166534;
}

.badge-info {
    background: #dbeafe;
    color: #1e40af;
}

.result-content {
    color: #525252;
    font-size: 14px;
    line-height: 1.6;
}

/* Issue Card */
.issue-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.issue-field {
    margin-bottom: 12px;
}

.issue-field label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #737373;
    margin-bottom: 4px;
}

.issue-field input,
.issue-field textarea,
.issue-field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}

.issue-field input:focus,
.issue-field textarea:focus,
.issue-field select:focus {
    outline: none;
    border-color: #667eea;
}

.issue-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 12px;
}

/* Loading */
.loading {
    display: none;
    text-align: center;
    padding: 40px;
}

.loading.active {
    display: block;
}

.loading-content {
    max-width: 400px;
    margin: 0 auto;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid #e5e5e5;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

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

.loading-message {
    color: #171717;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    min-height: 24px;
    transition: opacity 0.3s;
}

.loading-submessage {
    color: #737373;
    font-size: 13px;
    margin-bottom: 16px;
}

.loading-timer {
    color: #a3a3a3;
    font-size: 12px;
    margin-bottom: 12px;
}

.loading-progress {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e5e5e5;
    transition: all 0.3s;
}

.progress-dot.active {
    background: #667eea;
    transform: scale(1.2);
}

.progress-dot.completed {
    background: #22c55e;
}

.btn-cancel {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    color: #737373;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cancel:hover {
    background: #f5f5f5;
    border-color: #d4d4d4;
}

.loading-tips {
    margin-top: 24px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 12px;
    text-align: left;
}

.loading-tips-title {
    font-size: 12px;
    font-weight: 600;
    color: #737373;
    margin-bottom: 8px;
}

.loading-tips-content {
    font-size: 13px;
    color: #525252;
    line-height: 1.5;
}

/* Footer */
.footer {
    text-align: center;
    padding: 24px;
    color: #a3a3a3;
    font-size: 12px;
}

.footer a {
    color: #737373;
    text-decoration: underline;
}

/* File Upload */
.file-input {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 28px;
    }

    .action-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #667eea;
    animation: slideInRight 0.3s ease-out, fadeOut 0.3s ease-out forwards;
    animation-delay: 0s, 3.7s;
    min-width: 280px;
    max-width: 400px;
}

.toast.success {
    border-left-color: #10b981;
}

.toast.error {
    border-left-color: #ef4444;
}

.toast.warning {
    border-left-color: #f59e0b;
}

.toast-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.toast-icon.success {
    color: #10b981;
}

.toast-icon.error {
    color: #ef4444;
}

.toast-icon.warning {
    color: #f59e0b;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2px;
}

.toast-message {
    font-size: 13px;
    color: #6b7280;
}

.toast-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    margin-left: 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.toast-close:hover {
    background: #f3f4f6;
    color: #374151;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Katalis Guest Branding */
.katalis-branding {
    text-align: center;
    margin-bottom: 40px;
}

.katalis-title {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
    line-height: 1.1;
}

.katalis-subtitle {
    font-size: 24px;
    color: #4b5563;
    font-weight: 500;
    margin-bottom: 12px;
}

.katalis-description {
    font-size: 16px;
    color: #6b7280;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

#katalis-typed {
    color: #2563eb;
    font-weight: 600;
}

.btn-katalis {
    padding: 16px 48px;
    font-size: 18px;
    border-radius: 50px;
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-katalis:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.5);
    background: linear-gradient(135deg, #1d4ed8 0%, #4338ca 100%);
}


/* Katalis Header Branding */
.katalis-header-text {
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.katalis-header-icon {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    color: white;
    border: none;
    border-radius: 8px; /* Slightly softer square */
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}
