/**
 * SNAhelper Landing Page - Component Styles
 * ==========================================
 * Styles for specific UI components
 * Most component styling is handled by Tailwind CSS classes
 */

/* ========================================
   NAVIGATION COMPONENT
   ======================================== */

.nav-container {
    /* Uses .glass class from style.css */
}

/* ========================================
   FORM COMPONENTS
   ======================================== */

.form-glow {
    /* Placeholder for custom form effects */
}

/* ========================================
   CARD COMPONENTS
   ======================================== */

.feature-card {
    /* Placeholder for custom card styles */
}

/* ========================================
   FAQ ACCORDION
   ======================================== */

details summary::-webkit-details-marker {
    display: none;
}

/* ========================================
   FOOTER COMPONENT
   ======================================== */

.footer-glow {
    /* Placeholder for custom footer effects */
}

/* ========================================
   MOCKUP CHAT DEMO
   ======================================== */

.mockup-screen {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', sans-serif;
    font-size: 11px;
    color: #1d1d1f;
    background: #fff;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

.mockup-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 36px 16px 10px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    flex-shrink: 0;
}

.mockup-topbar-right {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

/* Messages area */
.mockup-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    overflow-x: hidden;
    text-align: left;
}

/* User message bubble */
.mockup-user-bubble {
    background: #2563eb;
    color: white;
    border-radius: 18px 18px 4px 18px;
    padding: 12px 14px;
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    min-height: 20px;
    word-wrap: break-word;
}

.mockup-user-bubble.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Blinking cursor */
.mockup-cursor {
    display: none;
    width: 2px;
    height: 14px;
    background: rgba(255, 255, 255, 0.8);
    margin-left: 1px;
    vertical-align: text-bottom;
    animation: mockupBlink 0.6s step-end infinite;
}

.mockup-cursor.active {
    display: inline-block;
}

@keyframes mockupBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Typing indicator (three dots) */
.mockup-typing-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    background: #f5f5f5;
    border-radius: 18px 18px 18px 4px;
    width: fit-content;
    margin-bottom: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mockup-typing-indicator.visible {
    opacity: 1;
}

.mockup-typing-indicator span {
    width: 7px;
    height: 7px;
    background: #999;
    border-radius: 50%;
    animation: mockupTypingBounce 1.4s ease-in-out infinite;
}

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

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

@keyframes mockupTypingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-5px); opacity: 1; }
}

/* AI response wrapper */
.mockup-ai-wrap {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mockup-ai-wrap.visible {
    opacity: 1;
}

/* AI response sections */
.mockup-ai-section {
    margin-bottom: 14px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.mockup-ai-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.mockup-ai-heading {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.mockup-ai-heading strong {
    font-size: 12px;
    font-weight: 700;
    color: #1d1d1f;
}

.mockup-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.mockup-ai-section ul {
    list-style: none;
    padding-left: 0;
    font-size: 10.5px;
    line-height: 1.5;
    color: #444;
    margin: 0;
}

.mockup-ai-section ul li {
    margin-bottom: 5px;
    padding-left: 12px;
    position: relative;
}

.mockup-ai-section ul li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: #999;
}

/* Input area */
.mockup-input-area {
    padding: 8px 12px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.mockup-input-field {
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 22px;
    padding: 10px 16px;
    font-size: 11px;
    color: #aaa;
}

.mockup-char-count {
    text-align: right;
    font-size: 8px;
    color: #ccc;
    margin-top: 3px;
    padding-right: 6px;
}

.mockup-disclaimer {
    text-align: center;
    font-size: 8px;
    color: #bbb;
    padding: 4px 12px 14px;
    flex-shrink: 0;
}


