/**
 * Skill Farm Finance Career - ULTRA PREMIUM Frontend Styles
 * Vogue & Harrods Level Premium Experience
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@200;300;400;500&display=swap');

:root {
    /* Premium Cream Palette */
    --sffc-cream: #FAF8F3;
    --sffc-cream-light: #FDFCF8;
    --sffc-cream-warm: #F7F3EC;
    --sffc-cream-depth: #F2EDE4;
    
    /* Navy & Accents */
    --sffc-navy: #1B3B2F;
    --sffc-navy-soft: #2A4A3E;
    --sffc-gold: #C9A961;
    --sffc-gold-light: #E4D4A8;
    
    /* Typography */
    --sffc-text-primary: #1B3B2F;
    --sffc-text-secondary: #4A5D57;
    --sffc-text-light: #7A8B85;
    
    /* Spacing for Premium Feel */
    --sffc-space-xs: 8px;
    --sffc-space-sm: 16px;
    --sffc-space-md: 32px;
    --sffc-space-lg: 48px;
    --sffc-space-xl: 64px;
    --sffc-space-2xl: 96px;
    --sffc-space-3xl: 128px;
    
    /* Premium Shadows */
    --sffc-shadow-subtle: 0 2px 20px rgba(27, 59, 47, 0.03);
    --sffc-shadow-elegant: 0 10px 40px rgba(27, 59, 47, 0.06);
    --sffc-shadow-luxury: 0 20px 60px rgba(27, 59, 47, 0.08);
    --sffc-shadow-deep: 0 30px 80px rgba(27, 59, 47, 0.12);
}

* {
    box-sizing: border-box;
}

/* Main Wrapper - Full Premium Experience */
.sffc-main-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    background: var(--sffc-cream);
    color: var(--sffc-text-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Header - Minimal and Elegant */
.sffc-main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 248, 243, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(27, 59, 47, 0.06);
    z-index: 1000;
    padding: 24px 48px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.sffc-main-header.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.sffc-header-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sffc-header-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sffc-header-logo {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 400;
    color: var(--sffc-navy);
    letter-spacing: -0.02em;
}

.sffc-header-brand-name {
    font-size: 18px;
    font-weight: 300;
    color: var(--sffc-text-secondary);
    letter-spacing: 0.02em;
}

/* Hero Container - Premium Landing */
.sffc-hero-container {
    padding: calc(var(--sffc-space-3xl) + 80px) var(--sffc-space-xl) var(--sffc-space-2xl);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--sffc-cream-light) 0%, var(--sffc-cream) 100%);
}

.sffc-hero-section {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.sffc-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 300;
    line-height: 1.1;
    color: var(--sffc-navy);
    margin-bottom: var(--sffc-space-sm);
    letter-spacing: -0.03em;
}

.sffc-hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    color: var(--sffc-text-secondary);
    margin-bottom: var(--sffc-space-xl);
    letter-spacing: 0.02em;
}

/* Search Section - Premium Entry Point */
.sffc-search-section {
    margin-bottom: var(--sffc-space-2xl);
}

.sffc-search-wrapper {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.sffc-search-container {
    display: flex;
    background: var(--sffc-cream-light);
    border: 1px solid rgba(27, 59, 47, 0.08);
    border-radius: 100px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: var(--sffc-shadow-elegant);
}

.sffc-search-container.focused {
    border-color: var(--sffc-navy);
    box-shadow: var(--sffc-shadow-luxury);
    transform: translateY(-2px);
}

.sffc-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 28px 40px;
    font-size: 18px;
    font-weight: 300;
    background: transparent;
    color: var(--sffc-navy);
    letter-spacing: 0.01em;
}

.sffc-search-input::placeholder {
    color: var(--sffc-text-light);
}

.sffc-search-button {
    background: var(--sffc-navy);
    color: var(--sffc-cream-light);
    border: none;
    padding: 28px 48px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.sffc-search-button:hover {
    background: var(--sffc-navy-soft);
    padding-right: 56px;
}

/* Premium Dropdown Suggestions */
.sffc-search-suggestions {
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
    right: 0;
    background: var(--sffc-cream-light);
    border-radius: 24px;
    box-shadow: var(--sffc-shadow-deep);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 100;
}

.sffc-search-suggestions.active {
    max-height: 520px;
    opacity: 1;
    overflow-y: auto;
}

.sffc-suggestion-group {
    padding: 24px 0;
}

.sffc-suggestion-label {
    padding: 0 32px;
    font-size: 12px;
    font-weight: 500;
    color: var(--sffc-text-light);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}

.sffc-suggestion-item {
    display: flex;
    align-items: center;
    padding: 20px 32px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sffc-suggestion-item:hover {
    background: var(--sffc-cream-warm);
    padding-left: 40px;
}

.sffc-suggestion-icon {
    width: 48px;
    height: 48px;
    background: var(--sffc-navy);
    color: var(--sffc-cream-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 24px;
    font-size: 20px;
}

.sffc-suggestion-content {
    flex: 1;
}

.sffc-suggestion-title {
    font-size: 16px;
    font-weight: 400;
    color: var(--sffc-navy);
    margin-bottom: 4px;
}

.sffc-suggestion-subtitle {
    font-size: 14px;
    font-weight: 300;
    color: var(--sffc-text-secondary);
}

/* Mode Cards - Premium Selection */
.sffc-tools-section {
    margin-top: var(--sffc-space-xl);
}

.sffc-section-title {
    font-size: 12px;
    font-weight: 500;
    color: var(--sffc-text-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--sffc-space-md);
}

.sffc-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.sffc-tool-card {
    background: var(--sffc-cream-light);
    border: 1px solid rgba(27, 59, 47, 0.06);
    border-radius: 20px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    gap: 20px;
}

.sffc-tool-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sffc-shadow-luxury);
    border-color: var(--sffc-navy);
    background: white;
}

.sffc-tool-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--sffc-navy);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sffc-cream-light);
    font-size: 24px;
    flex-shrink: 0;
}

.sffc-tool-info {
    flex: 1;
    text-align: left;
}

.sffc-tool-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--sffc-navy);
    margin-bottom: 8px;
}

.sffc-tool-desc {
    font-size: 14px;
    font-weight: 300;
    color: var(--sffc-text-secondary);
    line-height: 1.4;
}

/* SESSION CONTAINER - ULTRA PREMIUM CHAT */
.sffc-session-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--sffc-cream);
    z-index: 2000;
}

.sffc-session-container.active {
    display: flex;
    animation: elegantFadeIn 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes elegantFadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Floating Elegant Sidebar */
.sffc-session-sidebar {
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    max-height: 80vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: var(--sffc-shadow-luxury);
    overflow-y: hidden; /* Hide scrollbar */
    z-index: 2010;
}

/* Inner scrollable container */
.sffc-session-sidebar:hover {
    overflow-y: auto;
}

.sffc-session-sidebar::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.sffc-session-header {
    margin-bottom: var(--sffc-space-lg);
}

.sffc-session-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--sffc-navy);
    margin-bottom: 8px;
}

.sffc-session-subtitle {
    font-size: 14px;
    font-weight: 300;
    color: var(--sffc-text-secondary);
}

/* Mode Toggle - Premium Style */
.sffc-mode-toggle {
    display: flex;
    background: var(--sffc-cream);
    border-radius: 16px;
    padding: 4px;
    margin-bottom: var(--sffc-space-lg);
}

.sffc-mode-option {
    flex: 1;
    padding: 14px;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: var(--sffc-text-secondary);
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.sffc-mode-option.active {
    background: var(--sffc-navy);
    color: var(--sffc-cream-light);
}

/* Progress Steps - Minimal */
.sffc-progress-section {
    margin-bottom: var(--sffc-space-lg);
}

.sffc-progress-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    margin-bottom: 8px;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.sffc-progress-step:hover {
    background: var(--sffc-cream);
    transform: translateX(4px);
}

.sffc-progress-step.active {
    background: var(--sffc-cream);
}

.sffc-step-icon {
    width: 36px;
    height: 36px;
    background: var(--sffc-navy);
    color: var(--sffc-cream-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.sffc-progress-step.active .sffc-step-icon {
    background: var(--sffc-gold);
    color: var(--sffc-navy);
}

.sffc-step-text {
    font-size: 14px;
    color: var(--sffc-text-primary);
}

/* CHAT PANEL - ULTRA PREMIUM */
.sffc-chat-panel {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: var(--sffc-cream);
    position: relative;
    margin-left: 360px; /* Space for floating sidebar */
    margin-right: 40px;
}

/* Chat Header - Minimal Elegance */
.sffc-chat-header {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 24px;
}

.sffc-close-session {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(250, 248, 243, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(27, 59, 47, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--sffc-text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.sffc-close-session:hover {
    opacity: 1;
    background: var(--sffc-navy);
    color: var(--sffc-cream-light);
    transform: scale(1.05);
}

/* Messages Container - Magazine Spacious */
.sffc-messages-container {
    flex: 1;
    overflow-y: auto; /* Allow scroll but controlled */
    overflow-x: hidden;
    padding: 60px var(--sffc-space-2xl) 240px; /* Balanced positioning */
    max-width: 840px; /* Wider for magazine feel */
    margin: 0 auto;
    width: 100%;
    scroll-behavior: smooth;
    /* Prevent scroll bounce and over-scrolling */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    /* Ensure scroll starts at top */
    scroll-padding-top: 0;
}

/* Completely hide scrollbar even when scrolling */
.sffc-messages-container {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.sffc-messages-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
}

/* Message Styles - Magazine Quality */
.sffc-message {
    margin-bottom: var(--sffc-space-lg); /* Good spacing between messages */
    animation: messageElegance 0.6s ease;
}

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

/* Senna Messages - Premium Typography */
.sffc-message-senna {
    display: flex;
    gap: 24px; /* Proportional gap */
    align-items: flex-start;
    max-width: 760px; /* Wider for magazine feel */
    margin: 0 auto var(--sffc-space-lg); /* Consistent vertical space */
    position: relative;
}

/* First Senna message - prominent positioning */
.sffc-message-senna:first-of-type {
    margin-top: 0;
    padding-top: 10px;
}

/* Message Actions - Subtle Above Each Message */
.sffc-message-actions {
    position: absolute;
    top: -24px;
    right: 0;
    display: flex;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sffc-message-senna:hover .sffc-message-actions {
    opacity: 1;
}

.sffc-action-btn {
    font-size: 11px;
    color: var(--sffc-text-light);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.sffc-action-btn:hover {
    background: rgba(27, 59, 47, 0.06);
    color: var(--sffc-navy);
}

.sffc-message-avatar {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
    border: 2px solid var(--sffc-gold-light);
    box-shadow: 0 6px 20px rgba(27, 59, 47, 0.08);
}

.sffc-message-content {
    flex: 1;
    max-width: 640px; /* Wider for magazine */
}

.sffc-message-text {
    font-family: 'Playfair Display', serif;
    color: var(--sffc-navy);
    font-size: 22px; /* Elegant but readable */
    line-height: 1.8; /* Spacious */
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 28px;
    text-align: left;
    word-wrap: break-word;
    hyphens: auto;
}

/* Visual Cards - Integrated Magazine Style */
.sffc-message-visual {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-top: 20px;
    border-left: 2px solid var(--sffc-gold-light);
    padding-left: 24px;
    animation: cardReveal 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Welcome Visual Card */
.sffc-welcome-visual {
    display: grid;
    gap: 16px;
}

.sffc-welcome-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--sffc-navy);
    margin-bottom: 24px;
    line-height: 1.4;
}

.sffc-welcome-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    background: transparent;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(27, 59, 47, 0.05);
}

.sffc-welcome-item:last-child {
    border-bottom: none;
}

.sffc-welcome-item:hover {
    padding-left: 8px;
}

.sffc-welcome-icon {
    width: 40px;
    height: 40px;
    background: var(--sffc-navy);
    color: var(--sffc-cream-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.sffc-welcome-label {
    font-size: 16px;
    color: var(--sffc-text-primary);
}

/* Skills Visual Card - Integrated */
.sffc-skills-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.sffc-skill-card {
    padding: 20px;
    background: transparent;
    border: 1px solid rgba(27, 59, 47, 0.08);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.sffc-skill-card:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: var(--sffc-gold-light);
}

.sffc-skill-icon {
    width: 48px;
    height: 48px;
    background: var(--sffc-gold);
    color: var(--sffc-navy);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}

.sffc-skill-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--sffc-navy);
    margin-bottom: 8px;
}

.sffc-skill-level {
    font-size: 14px;
    color: var(--sffc-text-secondary);
}

/* Market Visual Card */
.sffc-market-visual {
    padding: 28px;
    background: linear-gradient(180deg, white 0%, var(--sffc-cream) 100%);
}

.sffc-market-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--sffc-navy);
    margin-bottom: 24px;
}

.sffc-market-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(27, 59, 47, 0.08);
}

.sffc-market-metric:last-child {
    border-bottom: none;
}

.sffc-metric-label {
    font-size: 15px;
    color: var(--sffc-text-secondary);
}

.sffc-metric-value {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--sffc-navy);
    font-weight: 500;
}

.sffc-metric-positive {
    color: var(--sffc-gold);
}

.sffc-metric-negative {
    color: #c94b4b;
}

.sffc-opportunities-visual {
    display: grid;
    gap: 12px;
}

.sffc-opp-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    background: transparent;
    border-bottom: 1px solid rgba(27, 59, 47, 0.05);
    transition: all 0.3s ease;
}

.sffc-opp-item:last-child {
    border-bottom: none;
}

.sffc-opp-item:hover {
    padding-left: 12px;
}

.sffc-opp-firm {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--sffc-navy);
    font-weight: 500;
}

.sffc-opp-role {
    font-size: 14px;
    color: var(--sffc-text-secondary);
    margin-top: 4px;
}

.sffc-opp-match {
    font-size: 16px;
    color: var(--sffc-gold);
    font-weight: 500;
}

/* User Messages - Integrated Design */
.sffc-message-user {
    max-width: 760px;
    margin: 0 auto var(--sffc-space-lg); /* Consistent vertical space */
    padding-left: 72px; /* Align with Senna's messages (48px avatar + 24px gap) */
    position: relative;
}

.sffc-user-indicator {
    position: absolute;
    left: 0;
    top: 4px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--sffc-gold-light) 0%, var(--sffc-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sffc-navy);
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 500;
}

.sffc-message-bubble {
    background: transparent;
    color: var(--sffc-text-primary);
    padding: 0;
    font-size: 19px; /* Slightly smaller for balance */
    font-weight: 400;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
    border-left: 3px solid var(--sffc-gold-light);
    padding-left: 32px;
    margin-left: 0;
}

/* Floating Input - Ultra Premium */
.sffc-input-area {
    position: fixed;
    bottom: 40px;
    left: 360px; /* Align with chat panel margin */
    right: 40px; /* Match right margin */
    max-width: 840px; /* Match messages container width */
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(27, 59, 47, 0.08);
    border-radius: 32px;
    padding: 8px;
    box-shadow: var(--sffc-shadow-luxury);
}

.sffc-input-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sffc-message-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 20px 28px;
    font-size: 16px;
    font-weight: 300;
    color: var(--sffc-navy);
    font-family: 'Inter', sans-serif;
}

.sffc-message-input::placeholder {
    color: var(--sffc-text-light);
}

.sffc-send-button {
    background: var(--sffc-navy);
    color: var(--sffc-cream-light);
    border: none;
    padding: 16px 36px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.sffc-send-button:hover:not(:disabled) {
    background: var(--sffc-gold);
    color: var(--sffc-navy);
    transform: scale(1.05);
}

.sffc-send-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Typing Indicator - Elegant */
.sffc-typing-indicator {
    position: absolute;
    bottom: 100%;
    left: 28px;
    background: white;
    padding: 14px 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    box-shadow: var(--sffc-shadow-elegant);
}

.sffc-typing-dot {
    width: 8px;
    height: 8px;
    background: var(--sffc-navy);
    border-radius: 50%;
    opacity: 0.3;
    animation: typingDot 1.4s infinite;
}

.sffc-typing-dot:nth-child(1) { animation-delay: 0s; }
.sffc-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.sffc-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    30% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.sffc-typing-text {
    font-size: 13px;
    color: var(--sffc-text-secondary);
    margin-left: 4px;
}


/* Responsive - Maintain Premium on Mobile */
@media (max-width: 1024px) {
    .sffc-session-sidebar {
        left: 20px;
        width: 260px;
    }
    
    .sffc-chat-panel {
        margin-left: 300px;
        margin-right: 20px;
    }
    
    .sffc-input-area {
        left: 300px;
        right: 20px;
        max-width: 700px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .sffc-hero-title {
        font-size: 48px;
    }
    
    .sffc-session-container.active {
        grid-template-columns: 1fr;
    }
    
    .sffc-session-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        transform: none;
        width: 100%;
        max-height: 200px;
        border-radius: 24px 24px 0 0;
        padding: 24px;
    }
    
    .sffc-chat-panel {
        margin-left: 0;
        padding-bottom: 220px;
    }
    
    .sffc-input-area {
        left: 20px;
        right: 20px;
        bottom: 240px;
    }
    
    .sffc-messages-container {
        padding: var(--sffc-space-lg) var(--sffc-space-md) 280px;
    }
}

/* Premium Animations */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.sffc-loading {
    background: linear-gradient(90deg, 
        var(--sffc-cream) 0%, 
        var(--sffc-cream-light) 50%, 
        var(--sffc-cream) 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Visual Card Animations */
.sffc-visual-card-enter {
    animation: cardReveal 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Premium Focus States */
*:focus {
    outline: none;
}

button:focus {
    outline: none;
}

input:focus,
textarea:focus {
    outline: none;
    box-shadow: none;
}

/* System Messages */
.sffc-message-system {
    text-align: center;
    margin: var(--sffc-space-md) 0;
}

.sffc-system-text {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(27, 59, 47, 0.05);
    border-radius: 100px;
    font-size: 14px;
    color: var(--sffc-text-secondary);
}