/* ==========================================================================
   NidoDigital - Clean Light Mode SaaS Stylesheet (Vilma.ai Inspired)
   ========================================================================== */

:root {
    --brand-coral: #FF7357;
    --brand-coral-hover: #F2502B;
    --brand-coral-light: #FFEDE8;
    --brand-mint: #9BE8C2;
    --brand-yellow: #FFE066;
    --text-main: #191919;
    --text-muted: #6B7280;
    --border-light: #E7E5E4;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-main);
    background-color: #FFFFFF;
}

/* Subtle background patterns */
.bg-subtle-grid {
    background-image: radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Gradient text */
.text-gradient-coral {
    background: linear-gradient(135deg, #FF7357 0%, #E03E1A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Filter buttons */
.filter-pill {
    background-color: #FFFFFF;
    color: #6B7280;
    border: 1px solid #E7E5E4;
    transition: all 0.2s ease;
}

.filter-pill:hover {
    color: #191919;
    border-color: #D1D5DB;
    background-color: #F9FAFB;
}

.filter-pill.active {
    background-color: #191919;
    color: #FFFFFF;
    border-color: #191919;
    box-shadow: 0 4px 12px rgba(25, 25, 25, 0.15);
}

/* Product & Feature Cards */
.clean-card {
    background-color: #FFFFFF;
    border: 1px solid #E7E5E4;
    border-radius: 1.5rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.clean-card:hover {
    transform: translateY(-3px);
    border-color: #CBD5E1;
    box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.06);
}

/* Product filtering visibility */
.product-item {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-item.hidden-item {
    display: none !important;
}

/* Infinite Marquee */
@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

/* Input styles */
input:focus {
    outline: none;
    border-color: var(--brand-coral);
    box-shadow: 0 0 0 3px rgba(255, 115, 87, 0.15);
}

/* ==========================================================================
   Markdown Viewer Styles (Prose Clean Tables, Headings & Quotes)
   ========================================================================== */
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border: 1px solid #E7E5E4;
    border-radius: 12px;
    overflow: hidden;
    font-size: 0.8125rem;
    display: table;
}

.prose thead {
    background-color: #F8FAFC;
    border-bottom: 2px solid #E7E5E4;
}

.prose th {
    padding: 12px 16px;
    font-weight: 700;
    color: #191919;
    text-align: left;
}

.prose td {
    padding: 12px 16px;
    border-bottom: 1px solid #F1F5F9;
    color: #4B5563;
}

.prose tr:hover {
    background-color: #F8FAFC;
}

.prose blockquote {
    border-left: 4px solid #FF7357;
    background-color: #FFEDE8;
    padding: 1rem 1.25rem;
    border-radius: 0 12px 12px 0;
    margin: 1.25rem 0;
    font-size: 0.875rem;
    color: #191919;
}

.prose h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #191919;
    margin: 2rem 0 1rem 0;
}

.prose h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #191919;
    margin: 1.75rem 0 0.75rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #E7E5E4;
}

.prose h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #191919;
    margin: 1.5rem 0 0.5rem 0;
}

.prose p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #4B5563;
    margin: 0.75rem 0;
}

.prose ul, .prose ol {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: #4B5563;
}

.prose ul { list-style-type: disc; }
.prose ol { list-style-type: decimal; }
.prose li { margin-bottom: 0.35rem; }

/* AI Chat Widget Utilities */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.25s ease-out forwards;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
