/* ============================================
   Cellyn Settings Tab - Premium Visual Design
   ============================================ */

/* ===== Settings Container ===== */
.settings-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 16px;
    gap: 10px;
    overflow-y: auto;
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
}

/* ===== Section Cards (Main Menu Items) ===== */
.settings-section-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.settings-section-card:hover {
    box-shadow: 0 4px 16px rgba(112, 85, 226, 0.12), 0 2px 4px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.settings-section-card:active {
    transform: translateY(0) scale(0.99);
}

.settings-section-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.settings-section-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3F0FC;
    border-radius: 10px;
    font-size: 18px;
}

.settings-section-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-primary);
    letter-spacing: -0.2px;
}

.settings-section-chevron {
    color: var(--color-text-muted);
    font-size: 18px;
    transition: transform 0.25s ease;
}

.settings-section-card.expanded .settings-section-chevron {
    transform: rotate(90deg);
}

/* ===== Profile Section (Inline Expandable) ===== */
.profile-expand-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, margin 0.35s ease-out;
    margin-top: 0;
}

.settings-section-card.expanded + .profile-expand-content,
.profile-expand-content.expanded {
    max-height: 900px;
    margin-top: 4px;
}

.profile-form {
    padding: 24px;
    background: white;
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.profile-field {
    margin-bottom: 20px;
}

.profile-field:last-child {
    margin-bottom: 0;
}

.profile-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.profile-input {
    width: 100%;
    padding: 14px 16px;
    padding-right: 44px;
    font-size: 15px;
    border: 1.5px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    transition: all 0.2s ease;
}

.profile-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(112, 85, 226, 0.12);
}

.profile-input:disabled {
    background: var(--color-bg-tertiary);
    color: var(--color-text-secondary);
    cursor: not-allowed;
}

.profile-input-icon {
    position: absolute;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.profile-input-icon svg {
    width: 18px;
    height: 18px;
}

.profile-input-icon:hover {
    color: var(--color-primary);
}

.profile-input-icon.locked {
    cursor: default;
}

.profile-input-icon.locked:hover {
    color: var(--color-text-muted);
}

.profile-hint {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-top: 6px;
}

.profile-optional {
    font-weight: 400;
    color: var(--color-text-muted);
    text-transform: none;
    font-size: 11px;
}

/* Inline Display Fields */
.profile-display-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--color-bg-tertiary);
    border-radius: 10px;
    border: 1.5px solid transparent;
}

.profile-display-field.editable {
    background: var(--color-bg-primary);
    border-color: var(--color-border);
    cursor: pointer;
    transition: all 0.2s ease;
}

.profile-display-field.editable:hover {
    border-color: var(--color-primary);
    background: var(--color-bg-secondary);
}

.profile-value {
    font-size: 15px;
    color: var(--color-text-primary);
    flex: 1;
}

.profile-value.placeholder {
    color: var(--color-text-muted);
    font-style: italic;
}

.profile-icon {
    font-size: 14px;
    color: var(--color-text-muted);
}

.profile-edit-btn {
    background: none;
    border: none;
    padding: 4px 8px;
    font-size: 14px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.profile-edit-btn:hover {
    opacity: 1;
}

/* Inline Edit Fields */
.profile-edit-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-edit-field.hidden {
    display: none;
}

.profile-edit-actions {
    display: flex;
    gap: 8px;
}

.profile-btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.profile-btn-sm.profile-btn-primary {
    background: var(--color-primary);
    color: white;
}

.profile-btn-sm.profile-btn-primary:hover {
    background: var(--color-gradient-end);
}

.profile-btn-sm.profile-btn-secondary {
    background: var(--color-bg-tertiary);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
}

.profile-btn-sm.profile-btn-secondary:hover {
    background: var(--color-bg-secondary);
}

/* Password Section */
.password-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.password-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 20px;
}

/* Password Strength Meter */
.password-strength {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.strength-dots {
    display: flex;
    gap: 5px;
}

.strength-dot {
    width: 24px;
    height: 4px;
    border-radius: 2px;
    background: var(--color-border);
    transition: all 0.25s ease;
}

.strength-dot.active.weak { background: var(--color-error); }
.strength-dot.active.fair { background: var(--color-warning); }
.strength-dot.active.good { background: #84cc16; }
.strength-dot.active.strong { background: var(--color-success); }
.strength-dot.active.very-strong { background: var(--color-success); }

.strength-text {
    font-size: 12px;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Profile Actions */
.profile-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.profile-btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.profile-btn-secondary {
    background: var(--color-bg-secondary);
    color: var(--color-text-secondary);
    border: 1.5px solid var(--color-border);
}

.profile-btn-secondary:hover {
    background: var(--color-bg-tertiary);
    border-color: var(--color-text-muted);
}

.profile-btn-primary {
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    color: white;
    box-shadow: 0 4px 12px rgba(112, 85, 226, 0.25);
}

.profile-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(112, 85, 226, 0.35);
}

.profile-btn-primary:active {
    transform: translateY(0);
}

/* ===== Sub-Pages (Slide from Right) ===== */
.settings-subpage {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg-primary);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-subpage.active {
    transform: translateX(0);
}

.subpage-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: #7F65EB;
    color: white;
    flex-shrink: 0;
}

.subpage-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 18px;
    font-weight: 700;
}

.subpage-back:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.subpage-title {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.subpage-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px 20px;
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 50%);
}

/* ===== User Manual Styles ===== */
.manual-hero {
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, rgba(112, 85, 226, 0.08) 0%, rgba(112, 61, 193, 0.08) 100%);
    border-radius: 20px;
    margin-bottom: 28px;
}

.manual-hero-logo {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    animation: float 3s ease-in-out infinite;
}

.manual-hero-tagline {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-top: 8px;
    line-height: 1.5;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.manual-section {
    margin-bottom: 32px;
}

.manual-section-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.manual-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--color-primary) 0%, transparent 100%);
}

.manual-intro {
    font-size: 14px;
    color: var(--color-text-primary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.prompt-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: white;
    border-radius: 12px;
    margin-bottom: 10px;
    border-left: 4px solid var(--color-primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.prompt-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(112, 85, 226, 0.1);
}

.prompt-card-icon {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.prompt-card-text {
    font-size: 13px;
    color: var(--color-text-primary);
    line-height: 1.5;
}

/* Capability Cards Grid */
.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.capability-card {
    text-align: center;
    padding: 20px 10px;
    background: white;
    border-radius: 14px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
    cursor: default;
}

.capability-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(112, 85, 226, 0.15);
}

.capability-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.capability-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.capability-desc {
    font-size: 10px;
    color: var(--color-text-muted);
    line-height: 1.4;
}

/* Pro Tips */
.tip-card {
    display: flex;
    gap: 14px;
    padding: 18px 16px;
    background: white;
    border-radius: 14px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.tip-card:hover {
    box-shadow: 0 4px 16px rgba(112, 85, 226, 0.1);
}

.tip-number {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    color: white;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.tip-content {
    flex: 1;
}

.tip-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}

.tip-text {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ===== Upcoming Features Styles ===== */
.upcoming-hero {
    position: relative;
    text-align: center;
    padding: 28px 24px;
    margin-bottom: 28px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(112, 85, 226, 0.06) 0%, rgba(112, 61, 193, 0.06) 100%);
    overflow: hidden;
}

.upcoming-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderPulse 2.5s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.upcoming-hero-title {
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.upcoming-hero-icon {
    font-size: 24px;
}

.upcoming-hero-text {
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.upcoming-hero-subtitle {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-top: 6px;
}

.upcoming-section {
    margin-bottom: 32px;
}

.upcoming-section-header {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-primary);
    padding: 12px 16px;
    background: linear-gradient(135deg, #F3F0FC 0%, #EDE9FA 100%);
    border-radius: 10px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 3px solid var(--color-primary);
}

/* ============================================
   3. TEAM COLLABORATION - Premium Animation
   Live cursors, real-time editing, presence
   ============================================ */
.collab-illustration {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 20px;
    background: linear-gradient(180deg, #F8F9FC 0%, white 100%);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
}

/* Ambient connection lines background */
.collab-illustration::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 40%, rgba(112, 85, 226, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 85% 40%, rgba(16, 185, 129, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

/* Team members row */
.collab-team {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px;
    position: relative;
}

/* Connection lines between team members */
.collab-team::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(112, 85, 226, 0.3),
        rgba(112, 85, 226, 0.1) 50%,
        rgba(16, 185, 129, 0.3)
    );
    transform: translateY(-50%);
    z-index: 0;
}

/* Animated data pulse on connection */
.collab-team::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 15%;
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    transform: translateY(-50%);
    animation: dataPulse 3s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(112, 85, 226, 0.5);
    z-index: 1;
}

@keyframes dataPulse {
    0% { left: 15%; opacity: 0; transform: translateY(-50%) scale(0.5); }
    10% { opacity: 1; transform: translateY(-50%) scale(1); }
    90% { opacity: 1; transform: translateY(-50%) scale(1); }
    100% { left: 85%; opacity: 0; transform: translateY(-50%) scale(0.5); }
}

.collab-avatar {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 15px;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.collab-avatar.user-1 {
    background: linear-gradient(135deg, #7055E2, #461FC5);
    animation: avatar1Pulse 4s ease-in-out infinite;
}

.collab-avatar.user-2 {
    background: linear-gradient(135deg, #10B981, #059669);
    animation: avatar2Pulse 4s ease-in-out infinite 0.5s;
}

.collab-avatar.user-3 {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    animation: avatar3Pulse 4s ease-in-out infinite 1s;
}

@keyframes avatar1Pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 16px rgba(112, 85, 226, 0.3); }
    15% { transform: scale(1.1); box-shadow: 0 6px 24px rgba(112, 85, 226, 0.5); }
    30% { transform: scale(1); }
}

@keyframes avatar2Pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3); }
    15% { transform: scale(1.1); box-shadow: 0 6px 24px rgba(16, 185, 129, 0.5); }
    30% { transform: scale(1); }
}

@keyframes avatar3Pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3); }
    15% { transform: scale(1.1); box-shadow: 0 6px 24px rgba(245, 158, 11, 0.5); }
    30% { transform: scale(1); }
}

/* Online status indicator */
.collab-avatar::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #10B981;
    border: 2px solid white;
    border-radius: 50%;
    animation: onlinePulse 2s ease-in-out infinite;
}

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

/* Live spreadsheet with cursors */
.collab-spreadsheet-container {
    position: relative;
    margin-bottom: 16px;
}

.collab-spreadsheet {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 3px;
    padding: 10px;
    background: white;
    border: 2px solid #E0E4EA;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: 160px;
}

.collab-cell {
    height: 18px;
    background: #F8F9FC;
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
}

/* Cell being edited by user 1 */
.collab-cell.editing-1 {
    animation: cellEdit1 4s ease-in-out infinite;
}

@keyframes cellEdit1 {
    0%, 100% { background: #F8F9FC; box-shadow: none; }
    20%, 40% { background: rgba(112, 85, 226, 0.15); box-shadow: 0 0 0 2px rgba(112, 85, 226, 0.5); }
    50% { background: #F8F9FC; box-shadow: none; }
}

/* Cell being edited by user 2 */
.collab-cell.editing-2 {
    animation: cellEdit2 4s ease-in-out infinite 1s;
}

@keyframes cellEdit2 {
    0%, 100% { background: #F8F9FC; box-shadow: none; }
    20%, 40% { background: rgba(16, 185, 129, 0.15); box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.5); }
    50% { background: #F8F9FC; box-shadow: none; }
}

/* Cell being edited by user 3 */
.collab-cell.editing-3 {
    animation: cellEdit3 4s ease-in-out infinite 2s;
}

@keyframes cellEdit3 {
    0%, 100% { background: #F8F9FC; box-shadow: none; }
    20%, 40% { background: rgba(245, 158, 11, 0.15); box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.5); }
    50% { background: #F8F9FC; box-shadow: none; }
}

/* Live cursors */
.collab-cursor {
    position: absolute;
    width: 2px;
    height: 16px;
    border-radius: 1px;
    pointer-events: none;
    z-index: 10;
}

.collab-cursor.cursor-1 {
    background: #7055E2;
    top: 14px;
    left: 25px;
    animation: cursor1Move 4s ease-in-out infinite;
}

.collab-cursor.cursor-2 {
    background: #10B981;
    top: 36px;
    left: 70px;
    animation: cursor2Move 4s ease-in-out infinite 1s;
}

.collab-cursor.cursor-3 {
    background: #F59E0B;
    top: 58px;
    left: 115px;
    animation: cursor3Move 4s ease-in-out infinite 2s;
}

/* Cursor blinking */
.collab-cursor::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    animation: cursorBlink 0.8s step-end infinite;
}

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

@keyframes cursor1Move {
    0%, 45% { left: 25px; }
    50%, 100% { left: 55px; }
}

@keyframes cursor2Move {
    0%, 45% { left: 70px; }
    50%, 100% { left: 100px; }
}

@keyframes cursor3Move {
    0%, 45% { left: 115px; }
    50%, 100% { left: 135px; }
}

/* Cursor labels */
.collab-cursor-label {
    position: absolute;
    top: -18px;
    left: 0;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 8px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
}

.collab-cursor.cursor-1 .collab-cursor-label { background: #7055E2; }
.collab-cursor.cursor-2 .collab-cursor-label { background: #10B981; }
.collab-cursor.cursor-3 .collab-cursor-label { background: #F59E0B; }

/* Real-time status bar */
.collab-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.collab-status-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    animation: statusPulse 1.5s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.collab-status-text {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.collab-status-users {
    display: flex;
    margin-left: auto;
}

.collab-status-mini-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-left: -6px;
    border: 2px solid white;
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.collab-status-mini-avatar:first-child { margin-left: 0; }
.collab-status-mini-avatar.mini-1 { background: #7055E2; }
.collab-status-mini-avatar.mini-2 { background: #10B981; }
.collab-status-mini-avatar.mini-3 { background: #F59E0B; }

/* ============================================
   5. DATA INTEGRATIONS - Premium Animation
   Flowing data particles, pulsing nodes, hub
   ============================================ */
.integrations-illustration {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 20px;
    background: linear-gradient(180deg, #F8F9FC 0%, white 100%);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
}

/* Network grid background */
.integrations-illustration::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(112, 85, 226, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(112, 85, 226, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    opacity: 0.7;
}

/* Source nodes container */
.integration-sources {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.integration-node {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

/* Source logos with glow */
.integration-logo {
    position: relative;
    width: 60px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* SAP - Blue with animation */
.integration-logo.sap {
    color: #0070D2;
    border-color: #0070D2;
    background: linear-gradient(135deg, #F0F7FF, #E3F0FF);
    animation: sourceGlow1 4s ease-in-out infinite;
    box-shadow: 0 4px 16px rgba(0, 112, 210, 0.2);
}

@keyframes sourceGlow1 {
    0%, 100% { box-shadow: 0 4px 16px rgba(0, 112, 210, 0.2); transform: translateY(0); }
    25% { box-shadow: 0 6px 24px rgba(0, 112, 210, 0.4); transform: translateY(-3px); }
    50% { box-shadow: 0 4px 16px rgba(0, 112, 210, 0.2); transform: translateY(0); }
}

/* Capital IQ - Green with animation */
.integration-logo.ciq {
    color: #00875A;
    border-color: #00875A;
    background: linear-gradient(135deg, #F0FFF8, #E3FFF3);
    animation: sourceGlow2 4s ease-in-out infinite 0.5s;
    box-shadow: 0 4px 16px rgba(0, 135, 90, 0.2);
}

@keyframes sourceGlow2 {
    0%, 100% { box-shadow: 0 4px 16px rgba(0, 135, 90, 0.2); transform: translateY(0); }
    25% { box-shadow: 0 6px 24px rgba(0, 135, 90, 0.4); transform: translateY(-3px); }
    50% { box-shadow: 0 4px 16px rgba(0, 135, 90, 0.2); transform: translateY(0); }
}

/* Bloomberg - Orange with animation */
.integration-logo.bbg {
    color: #FF6900;
    border-color: #FF6900;
    background: linear-gradient(135deg, #FFF8F0, #FFEFE0);
    animation: sourceGlow3 4s ease-in-out infinite 1s;
    box-shadow: 0 4px 16px rgba(255, 105, 0, 0.2);
}

@keyframes sourceGlow3 {
    0%, 100% { box-shadow: 0 4px 16px rgba(255, 105, 0, 0.2); transform: translateY(0); }
    25% { box-shadow: 0 6px 24px rgba(255, 105, 0, 0.4); transform: translateY(-3px); }
    50% { box-shadow: 0 4px 16px rgba(255, 105, 0, 0.2); transform: translateY(0); }
}

/* Data stream label */
.integration-label {
    font-size: 9px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Connection lines with flowing particles */
.integration-flow {
    position: relative;
    width: 180px;
    height: 40px;
    margin-bottom: 16px;
}

/* SVG-like connection paths using pseudo elements */
.integration-path {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(112, 85, 226, 0.3), transparent);
    top: 50%;
}

.integration-path.path-1 {
    left: 0;
    width: 60px;
    transform: rotate(20deg);
    transform-origin: right center;
}

.integration-path.path-2 {
    left: 50%;
    width: 60px;
    transform: translateX(-50%);
}

.integration-path.path-3 {
    right: 0;
    width: 60px;
    transform: rotate(-20deg);
    transform-origin: left center;
}

/* Flowing data particles */
.integration-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    filter: blur(1px);
}

.integration-particle.particle-1 {
    background: #0070D2;
    box-shadow: 0 0 12px rgba(0, 112, 210, 0.6);
    animation: particleFly1 3s ease-in-out infinite;
}

.integration-particle.particle-2 {
    background: #00875A;
    box-shadow: 0 0 12px rgba(0, 135, 90, 0.6);
    animation: particleFly2 3s ease-in-out infinite 0.3s;
}

.integration-particle.particle-3 {
    background: #FF6900;
    box-shadow: 0 0 12px rgba(255, 105, 0, 0.6);
    animation: particleFly3 3s ease-in-out infinite 0.6s;
}

@keyframes particleFly1 {
    0% { top: -5px; left: 15px; opacity: 0; transform: scale(0.5); }
    20% { opacity: 1; transform: scale(1); }
    80% { opacity: 1; transform: scale(1); }
    100% { top: 35px; left: 85px; opacity: 0; transform: scale(0.5); }
}

@keyframes particleFly2 {
    0% { top: 0; left: 85px; opacity: 0; transform: scale(0.5); }
    20% { opacity: 1; transform: scale(1); }
    80% { opacity: 1; transform: scale(1); }
    100% { top: 35px; left: 85px; opacity: 0; transform: scale(0.5); }
}

@keyframes particleFly3 {
    0% { top: -5px; left: 155px; opacity: 0; transform: scale(0.5); }
    20% { opacity: 1; transform: scale(1); }
    80% { opacity: 1; transform: scale(1); }
    100% { top: 35px; left: 85px; opacity: 0; transform: scale(0.5); }
}

/* Central hub with processing animation */
.integration-hub {
    position: relative;
    width: 88px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    border-radius: 16px;
    color: white;
    z-index: 2;
    overflow: hidden;
}

/* Hub breathing glow */
.integration-hub::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    z-index: -1;
    animation: hubBreathe 3s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes hubBreathe {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

/* Data processing rings inside hub */
.integration-hub::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: hubProcess 1.5s linear infinite;
    opacity: 0;
}

.integration-hub:hover::after {
    opacity: 1;
}

@keyframes hubProcess {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.integration-hub-icon {
    font-size: 20px;
    animation: hubIconPulse 3s ease-in-out infinite;
}

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

.integration-hub-text {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Success indicator below hub */
.integration-success {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 8px 14px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    animation: successFade 3s ease-in-out infinite;
}

@keyframes successFade {
    0%, 40%, 100% { opacity: 0.5; transform: scale(0.95); }
    60%, 80% { opacity: 1; transform: scale(1); }
}

.integration-success-icon {
    color: #10B981;
    font-size: 14px;
}

.integration-success-text {
    font-size: 10px;
    font-weight: 600;
    color: #10B981;
}

/* Integration List */
.integration-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.integration-item {
    padding: 14px 16px;
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--color-primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.integration-item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.integration-item-desc {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-top: 2px;
}

/* Feature List */
.feature-list {
    padding: 16px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
}

.feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-item:first-child {
    padding-top: 0;
}

.feature-item-icon {
    color: var(--color-primary);
    font-size: 14px;
    margin-top: 2px;
}

.feature-item-content {
    flex: 1;
}

.feature-item-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-primary);
}

.feature-item-desc {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 2px;
}

/* Email Signup */
.email-signup {
    padding: 28px 24px;
    background: linear-gradient(135deg, rgba(112, 85, 226, 0.06) 0%, rgba(112, 61, 193, 0.06) 100%);
    border-radius: 20px;
    text-align: center;
}

.email-signup-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 6px;
}

.email-signup-desc {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-bottom: 18px;
}

.email-signup-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    border: 1.5px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.email-signup-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(112, 85, 226, 0.12);
}

.email-signup-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(112, 85, 226, 0.25);
}

.email-signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(112, 85, 226, 0.35);
}

/* ===== Privacy & Terms Styles ===== */
.legal-hero {
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
    border-radius: 20px;
    margin-bottom: 24px;
}

.legal-hero-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.legal-hero-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.legal-hero-date {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 6px;
}

.legal-summary {
    padding: 20px;
    background: linear-gradient(135deg, rgba(112, 85, 226, 0.06) 0%, rgba(112, 61, 193, 0.04) 100%);
    border-radius: 16px;
    margin-bottom: 24px;
}

.legal-summary-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-summary-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.4;
}

.legal-summary-check {
    color: var(--color-success);
    flex-shrink: 0;
    font-weight: 600;
}

/* Data Flow Diagram */
.data-flow {
    padding: 20px;
    background: white;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.data-flow-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.data-flow-steps {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.data-flow-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--color-bg-secondary);
    border-radius: 10px;
    font-size: 13px;
    color: var(--color-text-primary);
    font-weight: 500;
}

.data-flow-arrow {
    text-align: center;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 0;
}

/* Collapsible Sections */
.legal-sections {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-section {
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.legal-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: white;
    cursor: pointer;
    transition: background 0.2s ease;
}

.legal-section-header:hover {
    background: var(--color-bg-secondary);
}

.legal-section-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-primary);
}

.legal-section-chevron {
    color: var(--color-text-muted);
    transition: transform 0.25s ease;
    font-size: 12px;
}

.legal-section.expanded .legal-section-chevron {
    transform: rotate(180deg);
}

.legal-section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.legal-section.expanded .legal-section-content {
    max-height: 500px;
}

.legal-section-body {
    padding: 16px;
    padding-top: 0;
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* External Link */
.legal-external {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px;
    background: white;
    border-radius: 14px;
    margin-top: 24px;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.legal-external:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(112, 85, 226, 0.15);
}

/* ===== Footer (Version & Logout) ===== */
.settings-footer {
    margin-top: auto;
    padding: 32px 20px;
    text-align: center;
}

.settings-version {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    font-weight: 500;
}

.settings-logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 36px;
    background: white;
    border: 1.5px solid var(--color-border);
    border-radius: 12px;
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.settings-logout-btn:hover {
    background: var(--color-error-bg);
    border-color: var(--color-error);
    color: var(--color-error);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

.settings-tagline {
    font-size: 12px;
    margin-top: 24px;
    color: var(--color-text-muted);
}

.settings-tagline .heart {
    color: #ef4444;
    display: inline;
}

/* ===== Toast Notifications ===== */
.settings-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 14px 24px;
    background: var(--color-text-primary);
    color: white;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    z-index: 2000;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.settings-toast.show {
    transform: translateX(-50%) translateY(0);
}

.settings-toast.success {
    background: var(--color-success);
}

.settings-toast.error {
    background: var(--color-error);
}

/* ===== Upcoming Features - Premium Illustrations ===== */

/* Shared description style */
.upcoming-desc {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

/* ============================================
   1. MULTI-FILE ANALYSIS - Premium Animation
   Staggered file entry, data stream, merge effect
   ============================================ */
.multifile-illustration {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 32px 20px;
    background: linear-gradient(180deg, #F8F9FC 0%, white 100%);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
}

/* Ambient particles background */
.multifile-illustration::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(112, 85, 226, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(112, 61, 193, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.multifile-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.multifile-doc {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: white;
    border: 1.5px solid #E0E4EA;
    border-radius: 10px;
    font-size: 11px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

/* Staggered slide-in with bounce */
.multifile-doc.doc-1 {
    animation: docSlideIn 4s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
    border-color: #2B579A;
}
.multifile-doc.doc-2 {
    animation: docSlideIn 4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s infinite;
    border-color: #217346;
}
.multifile-doc.doc-3 {
    animation: docSlideIn 4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s infinite;
    border-color: #E03C31;
}

@keyframes docSlideIn {
    0% {
        transform: translateX(-40px) scale(0.8);
        opacity: 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    }
    15% {
        transform: translateX(0) scale(1);
        opacity: 1;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
    30% {
        transform: translateX(8px) scale(1.02);
        box-shadow: 0 6px 20px rgba(112, 85, 226, 0.15);
    }
    50% {
        transform: translateX(4px) scale(1);
    }
    85%, 100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* Shimmer effect on docs */
.multifile-doc::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: docShimmer 4s ease-in-out infinite;
}

.multifile-doc.doc-1::after { animation-delay: 0.6s; }
.multifile-doc.doc-2::after { animation-delay: 0.75s; }
.multifile-doc.doc-3::after { animation-delay: 0.9s; }

@keyframes docShimmer {
    0%, 30% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.multifile-icon {
    font-size: 16px;
}

.multifile-name {
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: -0.2px;
}

/* Animated data flow connector */
.multifile-connector {
    position: relative;
    width: 50px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.multifile-connector::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(112, 85, 226, 0) 0%,
        rgba(112, 85, 226, 0.3) 50%,
        rgba(112, 85, 226, 0) 100%
    );
}

/* Data particles flowing */
.multifile-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(112, 85, 226, 0.5);
}

.multifile-particle:nth-child(1) { animation: particleFlow1 4s ease-in-out infinite 0.8s; }
.multifile-particle:nth-child(2) { animation: particleFlow2 4s ease-in-out infinite 1s; }
.multifile-particle:nth-child(3) { animation: particleFlow3 4s ease-in-out infinite 1.2s; }

@keyframes particleFlow1 {
    0%, 20% { transform: translate(-20px, -25px); opacity: 0; }
    30% { opacity: 1; }
    60% { transform: translate(20px, 0); opacity: 1; }
    70%, 100% { transform: translate(20px, 0); opacity: 0; }
}

@keyframes particleFlow2 {
    0%, 25% { transform: translate(-20px, 0); opacity: 0; }
    35% { opacity: 1; }
    65% { transform: translate(20px, 0); opacity: 1; }
    75%, 100% { transform: translate(20px, 0); opacity: 0; }
}

@keyframes particleFlow3 {
    0%, 30% { transform: translate(-20px, 25px); opacity: 0; }
    40% { opacity: 1; }
    70% { transform: translate(20px, 0); opacity: 1; }
    80%, 100% { transform: translate(20px, 0); opacity: 0; }
}

.multifile-result {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 24px;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    border-radius: 14px;
    color: white;
    animation: resultMerge 4s ease-out infinite;
}

@keyframes resultMerge {
    0%, 40% {
        transform: scale(0.9);
        opacity: 0.5;
        box-shadow: 0 4px 12px rgba(112, 85, 226, 0.2);
    }
    60% {
        transform: scale(1.05);
        opacity: 1;
        box-shadow: 0 8px 32px rgba(112, 85, 226, 0.4);
    }
    70%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 6px 24px rgba(112, 85, 226, 0.35);
    }
}

/* Glow ring effect */
.multifile-result::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 17px;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    opacity: 0;
    animation: glowRing 4s ease-out infinite;
    z-index: -1;
}

@keyframes glowRing {
    0%, 55% { opacity: 0; transform: scale(0.95); }
    65% { opacity: 0.6; transform: scale(1.1); }
    75%, 100% { opacity: 0; transform: scale(1.2); }
}

.multifile-result-icon {
    font-size: 22px;
    animation: iconPop 4s ease-out infinite;
}

@keyframes iconPop {
    0%, 55% { transform: scale(0.8) rotate(-10deg); }
    65% { transform: scale(1.2) rotate(5deg); }
    75%, 100% { transform: scale(1) rotate(0deg); }
}

.multifile-result-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ============================================
   2. EMAIL CONNECTIVITY - Clean Professional
   Simple envelope with data flow indicator
   ============================================ */
.email-illustration {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 40px 24px;
    background: linear-gradient(180deg, #FEFCE8 0%, white 100%);
    border-radius: 16px;
    margin-bottom: 16px;
}

/* Large envelope - proper mail icon style */
.email-envelope {
    position: relative;
    width: 72px;
    height: 52px;
}

/* Envelope body */
.email-envelope-body {
    position: absolute;
    inset: 0;
    background: white;
    border: 2px solid #F59E0B;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
}

/* Envelope flap - triangle on top */
.email-envelope-flap {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 26px;
    background: #FEF3C7;
    border: 2px solid #F59E0B;
    border-bottom: none;
    clip-path: polygon(0 0, 50% 85%, 100% 0);
}

/* Inner V fold line */
.email-envelope-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 24px;
    background: linear-gradient(135deg, transparent 48%, #FDE68A 48%, #FDE68A 52%, transparent 52%),
                linear-gradient(225deg, transparent 48%, #FDE68A 48%, #FDE68A 52%, transparent 52%);
}

/* Notification badge */
.email-notification {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: #EF4444;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: white;
    z-index: 5;
    animation: badgePulse 3s ease-in-out infinite;
}

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

/* Hide document - not needed */
.email-document {
    display: none;
}

/* Flow arrow */
.email-processor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.email-processor-ring {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 50%;
    position: relative;
}

.email-processor-ring::before {
    content: '→';
    font-size: 20px;
    font-weight: 700;
    color: #F59E0B;
    animation: arrowSlide 2s ease-in-out infinite;
}

@keyframes arrowSlide {
    0%, 100% { transform: translateX(-2px); opacity: 0.5; }
    50% { transform: translateX(2px); opacity: 1; }
}

.email-processor-icon {
    display: none;
}

.email-processor-label {
    font-size: 9px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Excel output */
.email-output {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #217346, #185C37);
    border-radius: 10px;
    color: white;
    box-shadow: 0 4px 12px rgba(33, 115, 70, 0.25);
    animation: outputPulse 3s ease-in-out infinite;
}

@keyframes outputPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(33, 115, 70, 0.25); }
    50% { transform: scale(1.02); box-shadow: 0 6px 16px rgba(33, 115, 70, 0.35); }
}

.email-output-icon {
    font-size: 24px;
}

.email-output-text {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* ============================================
   4. UNIVERSAL FILE SUPPORT - Premium Animation
   Document scan, data extraction, transformation
   ============================================ */
.files-illustration {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 32px 20px;
    background: linear-gradient(180deg, #F8F9FC 0%, white 100%);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
}

/* Subtle scan lines background */
.files-illustration::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 4px,
        rgba(33, 115, 70, 0.02) 4px,
        rgba(33, 115, 70, 0.02) 5px
    );
    pointer-events: none;
    animation: scanBackground 3s linear infinite;
}

@keyframes scanBackground {
    from { background-position: 0 0; }
    to { background-position: 0 20px; }
}

/* Source documents stack */
.file-types {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.file-type-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 2px solid;
    overflow: hidden;
    min-width: 90px;
}

/* Word document with scan effect */
.file-type-card.word {
    background: linear-gradient(135deg, #E8F0FE 0%, #D4E4FC 100%);
    border-color: #2B579A;
    animation: fileSlideIn 4s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
    box-shadow: 0 4px 12px rgba(43, 87, 154, 0.15);
}

/* PDF document */
.file-type-card.pdf {
    background: linear-gradient(135deg, #FEE8E8 0%, #FDD5D5 100%);
    border-color: #E03C31;
    animation: fileSlideIn 4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s infinite;
    box-shadow: 0 4px 12px rgba(224, 60, 49, 0.15);
}

/* PowerPoint document */
.file-type-card.ppt {
    background: linear-gradient(135deg, #FEF3E8 0%, #FDEADB 100%);
    border-color: #D24726;
    animation: fileSlideIn 4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s infinite;
    box-shadow: 0 4px 12px rgba(210, 71, 38, 0.15);
}

@keyframes fileSlideIn {
    0% { transform: translateX(-30px); opacity: 0; }
    15%, 85% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(0); opacity: 1; }
}

/* Scanning line effect on documents */
.file-type-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: scanLine 4s ease-in-out infinite;
}

.file-type-card.word::after { animation-delay: 0.5s; }
.file-type-card.pdf::after { animation-delay: 0.65s; }
.file-type-card.ppt::after { animation-delay: 0.8s; }

@keyframes scanLine {
    0%, 25% { left: -100%; }
    45%, 55% { left: 150%; }
    100% { left: 150%; }
}

.file-type-icon {
    font-size: 18px;
    font-weight: 800;
}

.file-type-card.word .file-type-icon { color: #2B579A; }
.file-type-card.pdf .file-type-icon { color: #E03C31; }
.file-type-card.ppt .file-type-icon { color: #D24726; }

.file-type-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: -0.2px;
}

/* Data stream connector */
.files-connector {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 80px;
}

/* Vertical data stream */
.files-stream {
    position: absolute;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(33, 115, 70, 0.1) 0%,
        rgba(33, 115, 70, 0.4) 50%,
        rgba(33, 115, 70, 0.1) 100%
    );
    border-radius: 2px;
}

/* Data particles flowing */
.files-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
}

.files-particle.fp-1 {
    background: #2B579A;
    box-shadow: 0 0 10px rgba(43, 87, 154, 0.5);
    animation: fileParticle 3s ease-in-out infinite;
}

.files-particle.fp-2 {
    background: #E03C31;
    box-shadow: 0 0 10px rgba(224, 60, 49, 0.5);
    animation: fileParticle 3s ease-in-out infinite 0.5s;
}

.files-particle.fp-3 {
    background: #D24726;
    box-shadow: 0 0 10px rgba(210, 71, 38, 0.5);
    animation: fileParticle 3s ease-in-out infinite 1s;
}

@keyframes fileParticle {
    0% { top: 0; opacity: 0; transform: translateX(-50%) scale(0.5); }
    20% { opacity: 1; transform: translateX(-50%) scale(1); }
    80% { opacity: 1; transform: translateX(-50%) scale(1); }
    100% { top: 100%; opacity: 0; transform: translateX(-50%) scale(0.5); }
}

/* Transformation icon */
.files-transform-icon {
    position: relative;
    width: 36px;
    height: 36px;
    background: white;
    border: 2px solid #217346;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    animation: transformSpin 4s ease-in-out infinite;
    box-shadow: 0 4px 12px rgba(33, 115, 70, 0.2);
}

@keyframes transformSpin {
    0%, 40% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    60%, 100% { transform: rotate(180deg); }
}

.files-transform-icon::before {
    content: '⚡';
    font-size: 16px;
}

/* Excel output with assembly effect */
.files-excel-output {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #217346, #185C37);
    border-radius: 14px;
    color: white;
    animation: excelAssemble 4s ease-out infinite;
}

@keyframes excelAssemble {
    0%, 50% { transform: scale(0.85); opacity: 0.5; box-shadow: 0 4px 12px rgba(33, 115, 70, 0.2); }
    65% { transform: scale(1.05); opacity: 1; box-shadow: 0 8px 32px rgba(33, 115, 70, 0.4); }
    80%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 6px 24px rgba(33, 115, 70, 0.35); }
}

/* Success glow ring */
.files-excel-output::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 18px;
    background: linear-gradient(135deg, #217346, #185C37);
    opacity: 0;
    z-index: -1;
    animation: excelGlowRing 4s ease-out infinite;
}

@keyframes excelGlowRing {
    0%, 60% { opacity: 0; transform: scale(0.95); }
    70% { opacity: 0.5; transform: scale(1.15); }
    85%, 100% { opacity: 0; transform: scale(1.25); }
}

.files-excel-icon {
    font-size: 24px;
    animation: excelIconPop 4s ease-out infinite;
}

@keyframes excelIconPop {
    0%, 60% { transform: scale(0.8); }
    70% { transform: scale(1.2); }
    80%, 100% { transform: scale(1); }
}

.files-excel-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Data counter effect */
.files-counter {
    position: absolute;
    bottom: -24px;
    font-size: 10px;
    font-weight: 600;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.files-counter-number {
    color: #217346;
    font-weight: 700;
}

/* ============================================
   6. AI PRESENTATIONS - Clean Professional
   Simple Excel to Slide transformation
   ============================================ */
.ppt-illustration {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 40px 24px;
    background: linear-gradient(180deg, #FEF2F2 0%, white 100%);
    border-radius: 16px;
    margin-bottom: 16px;
}

/* Excel source - clean card */
.ppt-excel-source {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: white;
    border: 2px solid #217346;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(33, 115, 70, 0.12);
}

/* Hide the chart bars - too busy */
.ppt-source-chart {
    display: none;
}

.ppt-bar {
    display: none;
}

.ppt-source-icon {
    font-size: 28px;
}

.ppt-source-label {
    font-size: 10px;
    font-weight: 700;
    color: #217346;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Simple arrow connector */
.ppt-magic-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 50%;
}

.ppt-magic-ring {
    display: none;
}

.ppt-magic-center {
    display: none;
}

.ppt-sparkle {
    font-size: 22px;
    animation: sparkleGlow 2s ease-in-out infinite;
}

@keyframes sparkleGlow {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* Output slide - larger, cleaner */
.ppt-output {
    position: relative;
}

.ppt-slide {
    width: 88px;
    height: 60px;
    background: white;
    border: 2px solid #D24726;
    border-radius: 6px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(210, 71, 38, 0.15);
    animation: slidePulse 3s ease-in-out infinite;
}

@keyframes slidePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(210, 71, 38, 0.15); }
    50% { transform: scale(1.02); box-shadow: 0 6px 16px rgba(210, 71, 38, 0.25); }
}

/* Slide title */
.ppt-slide-title {
    height: 6px;
    width: 55%;
    background: #D24726;
    border-radius: 2px;
}

/* Slide chart area */
.ppt-slide-chart {
    height: 20px;
    width: 100%;
    background: #FEF3E8;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

/* Simple bars */
.ppt-slide-chart::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 6px;
    right: 6px;
    height: 12px;
    background: linear-gradient(90deg,
        #D24726 0%, #D24726 18%, transparent 18%,
        transparent 22%, #F59E0B 22%, #F59E0B 40%, transparent 40%,
        transparent 44%, #217346 44%, #217346 62%, transparent 62%,
        transparent 66%, #D24726 66%, #D24726 84%, transparent 84%
    );
    border-radius: 2px;
}

/* Slide bullets */
.ppt-slide-bullets {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ppt-bullet {
    height: 3px;
    background: #E0E4EA;
    border-radius: 1px;
}

.ppt-bullet:first-child { width: 75%; }
.ppt-bullet:last-child { width: 55%; }

/* Brand badge */
.ppt-brand-badge {
    position: absolute;
    bottom: -8px;
    right: -6px;
    padding: 4px 8px;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    color: white;
    font-size: 8px;
    font-weight: 700;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(112, 85, 226, 0.3);
}

/* Success check */
.ppt-success-check {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    background: #10B981;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}
